OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: HotShot on 27 Oct 2002, 18:10:50
-
I need someone to download the mission attached (called OFP2) and tell me what i'm doing wrong? This IS NOT a Beta mission its just the start of a mission i'm making. The thing is that for some reason the helcopter with my troops in wont land? All the troops are set as seperate units (although in the mission they're supposed to be part of a group) and all get in the chopper through soldiername moveincargo helo1 The missions on Everon arounf the island at the south and the missions still an .sqm file. Ig you do fix my problem (i dont care how so lon as the mission still starts out the same) then please save it in the mission editor (not as a single player, .pbo file) as OFP2 fixed or something of the sort. If you have any other questions then post them here or e-mail me at: coleman765@hotmail.com
Also can the Moderators please not move this post to the missions board becuase its an Editing problem.
Thanks, HotShot
-
1) Put an invisible H where you want the helo to land. Put the Transport Unload waypoint on it.
2) put helo1 land "LAND"; "unassignVehicle _x" forEach (units group as1)[/b] in the OnActivation field of your Transport Unload waypoint. That will unload them all except the player as soon as it touches down, and it should touch down...
I think as1 was the leader of the player's group. Not sure. If it's someone else, replace as1 with the right name
Cheers,
CareyBear
-
Thanks, the helicopter lands alright now but only the leader gets out. I think this must be because the soldiers on the chopper still arn't set as a group. How do i get the soldiers to join up with as1 so they make a group?
-
you could either run this command in a script or create a trigger with the on-activation line:
[soldier1,soldier2,soldier3] join as1
your soldiers will have to be named.