OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Dr. Egg on 06 Apr 2003, 21:06:54
-
hi, its me again sorry ;D
er is there a command for a unit (vehicle) to tunr its engine off that does NOT USE THE GET OUT WAYPOINT
cheers
-
Do something like this :
create a trigger that will be activated by the event that will make your vehicle stop and put "dostop nameofmyvehicle" in the activation field. Your vehicle will turn off its engine after a few seconds.
To get it moving again, use another trigger, with whatever condition you need, and put "nameofmyvehicle domove getwppos [nameofmyvehicle, x]", where x is the number of the next waypoint you want your vehicle to go.
Is that clear enough ?
Don't forget to remove the " " in your line of command !
-
k soz its my fault i dident give enough info
im messing around with the aircraft land on ship script
but the pilot will land but not turn off his engiens or get out
i need help with both those options plz
thnaks,
egg
-
k this is just for the record
i sort fo half figured it out
i used it noramlly but i put a trigger with the setfuel command to 0 and made the waypoint to GET OUT
jus as the helicopter is about to pull away to land on....the land, it runs out of fuel, loses alitiude and lands on the deck of the LSD
they get out...
it could be used!!
but it requires timing and there has got to be a easier way, im leaving this unsolved
egg
-
So you want him to land and keep its engine on for a while ?
-
no i want him to land, engine off and then get out
-
Without waypoint, that's it ?
-
k this is becoming confusing
all i want is a command that will turn off the engine
and a command to make units disembark froma vehicle
a command
not a waypoint (but the command could be used in a waypoint tho)
-
All right. The "dostop" command WILL turn your engine off. To make the units get out of the chopper, use "Unassignvehicle myunit".
If there is still something wrong, give more info about the units (group, where do they go, are there only the pilots or is there also cargo, etc.)
Cheerio :D !
-
nah, lol its alright now
i use the set fuel command, its a bumpy landing but it works, an i can get them to go off again by using a nother setfuel command so its alll good
thanks for you help newayz
egg
-
Cool man, glad you could make it. :thumbsup:
-
u know what, ill solve it as well
bye dude
now i wanna know whow that glowing text works hmmmmm
[maybe its like this/glow]
-
gay
-
whoop whoop