-
Question about TRANSPORT UNLOAD
Is there any way to make it so that it automatically ejects everyone from the chopper, or make it so it doesnt automatically eject anyone?
I hate having it automatically kick me outta the chopper when it lands, yet my squad mates stay in there until I tell them to disembark. So can I make it so it disembarks everyone? if so, how.
And if there is a way to make it so it doesnt disembark ANYONE so that I can get out by my self, that would be nice also.
-
Master Sergeant
To forcefully eject someone from a helicopter use the following code:
unitName action ["EJECT", chopperName]
OFPEC | Intel Depot
Find the answers to all your editing related questions at OFPEC - The Editing Center.
-
But would that eject them mid flight, or only when they reach the ground?
Also is it possible to make the transport unload not forcefully eject me when we land?
---------- Post added at 05:32 AM ---------- Previous post was at 05:19 AM ----------
In the TRANSPORT UNLOAD waypoint for On Act, I have:
unit2 action ["EJECT", Helicopter]; unit3 action ["EJECT", Helicopter]
and they dont eject when we land.
-
Master Sergeant
The code I quoted would eject them whenever you issued the command. In mid flight or on the ground.
The reason that your troops do not eject when you use the code in a Transport Unload is because the waypoint is never completed. Hence it's activation field never becomes active.
A Transport Unload becomes active when it has unloaded the soldiers. So what you are telling the game engine is this (in plain english):
"The soldiers in the chopper should not eject until they have all ejected".
Funny, right? We can solve this problem tomorrow. I'm too sleepy right now. Meanwhile: Head over to www.ofpec.com. There are numerous ways to solve your problems in the forums and different tutorials there.
Last edited by nominesine; Jul 13 2009 at 10:57.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules