Supreme Cmdr Posted October 24, 2007 Report Share Posted October 24, 2007 The DOCK and DOCKWITH commands do different things. DOCK - tells the object to dock with another object. The option 'time' parameter tells the object to auto-launch after that time expires. This is usually used for crafts docking with stations, but will work for any actor docking with another. DOCKWITH - tells the object to dock with another object. The optional 'vanish' tells the game engine to remove it after it has docked. While the optional "deactivate" tells the game engine to deactivate it (i.e. not do any further rendering or AI processing for it) so that you can "re-activate" it later with the ACTIVATE command in an event. This is usually used for personnel docking with vehicles and such, but will work for any actor docking with another. Also, the !docked event checks if the current object (for which the !dock event is checked) has docked with a "target" object. e.g. [ai] .f1,100,100,100,100,100,100,0 start inactive near cronusz^jmp-23 500 cronus stop events 1 !beginl1 activate this !startup dock orion !detect orion say "GCV-WILDSTAR: ORION, WE ARE REQUESTING DOCKING CLEARANCE" signal f1_dock_request !docked orion signal f1_docked endevents # .orion events 1 !f1_dock_request say "ORION: DOCKING CLEARANCE GRANTED WILDSTAR. PROCEED TO BAY ONE" f1_docked say "ORION: GCV-WILDSTAR HAS DOCKED" endevents[/code] Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now