Quote: --- Original message by: Gamma927
Pseudocode:
Load pelicans
Fly pelican towards location
Unload pelicans
Fly pelicans away
Commands you might use:
vehicle_load_magic
vehicle_unload
recording_play_and_hover
.....or you could use custom animations (assuming you know how to, I surely don't). I find recorded animations kind of a pain, you have to find the right animation from the right level in order for them to work properly.
You could also use AI, but that's also incredibly compicated.
Of course, and alternative method using recorded anims is to create a huge trigger volume in the path of the pelican's recording, and use reecording_kill when the script detects the pelican in the trigger. Time vehicle_hover exactly so the pelican will hover before reaching the ground.
So, like Gamma said, create a pelican, load marines using the 'magic' command, import recordings, find a recording that fits you by testing in Sapien dev, refer to the pelican in a recording_play script, let it fly to its sepcified location, and unload marines. Refer to the scripting bible for clarification on commands and usage.