OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Dr. Egg on 06 Apr 2003, 21:06:54

Title: HElicoper engine command
Post 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
Title: Re:HElicoper engine command
Post by: Igor Drukov on 06 Apr 2003, 21:28:52
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 !
Title: Re:HElicoper engine command
Post by: Dr. Egg on 06 Apr 2003, 21:33:02
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
Title: Re:HElicoper engine command
Post by: Dr. Egg on 06 Apr 2003, 21:49:13
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
Title: Re:HElicoper engine command
Post by: Igor Drukov on 06 Apr 2003, 21:50:43
So you want him to land and keep its engine on for a while ?
Title: Re:HElicoper engine command
Post by: Dr. Egg on 06 Apr 2003, 22:02:03
no i want him to land, engine off and then get out
Title: Re:HElicoper engine command
Post by: Igor Drukov on 06 Apr 2003, 22:07:27
Without waypoint, that's it ?
Title: Re:HElicoper engine command
Post by: Dr. Egg on 06 Apr 2003, 22:09:07
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)
Title: Re:HElicoper engine command
Post by: Igor Drukov on 06 Apr 2003, 22:25:25
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 !
Title: Re:HElicoper engine command
Post by: Dr. Egg on 06 Apr 2003, 22:37:01
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
Title: Re:HElicoper engine command
Post by: Igor Drukov on 06 Apr 2003, 22:39:26
Cool man, glad you could make it. :thumbsup:
Title: Re:HElicoper engine command
Post by: Dr. Egg on 06 Apr 2003, 22:40:43
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]
Title: Re:HElicoper engine command
Post by: Dr. Egg on 06 Apr 2003, 22:41:01
gay
Title: Re:HElicoper engine command
Post by: Dr. Egg on 06 Apr 2003, 22:41:22
whoop whoop