OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: thenick100 on 20 May 2003, 00:49:48

Title: MH-47E...
Post by: thenick100 on 20 May 2003, 00:49:48
How do i have a jeep and squad start the mission and then have either the whole lot paradroped from the chopper or have it land, insert, and fly away? i searched the forum and found im gonna have to call the cargo script within the pbo... but i tried it and got the wrong paths etc... does anyone know how i can do this? and which scripts i need to call on init, and at the insertion waypoint/trigger? oh and how do i call them from the pbo?
thanks! Nick
Title: Re:MH-47E...
Post by: B-2-0 on 20 May 2003, 13:40:39
Try this, should work... ;)

[chopper name, jeep name] exec "\BAS_Cargo\loader.sqs"; this animate ["cargoswitch",0.5]

Not sure whether it goes in the chopper's init field or the jeep's........should deffo work tho!! ;)