OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: angusjm on 08 Sep 2002, 15:40:08

Title: Aircraft Speed
Post by: angusjm on 08 Sep 2002, 15:40:08
How do you make an AI aircraft fly at a certain speed?
Title: Re:Aircraft Speed
Post by: Viking on 08 Sep 2002, 16:49:47
U could try using the Limited, Normal and Fast options in a waypoint?
Title: Re:Aircraft Speed
Post by: angusjm on 08 Sep 2002, 20:41:16
Other than that, I mean.
Title: Re:Aircraft Speed
Post by: seanver on 08 Sep 2002, 21:22:22
There's no way to adjust an object's speeds to a determined speed to, for example, 500 kph. You should use what viking said
Title: Re:Aircraft Speed
Post by: Tomb on 08 Sep 2002, 22:41:12
Well, at least three speedmodes work, I believe :
( not sure about the "normal", but I think those are the ones ya can use, m8  :) )


So just name yer birds and use the SetSpeedMode spell.


-----------------

P.S.  these commands are just additions to the WP-settings, off course.
    ...for ppl whom use scripts or triggers rather than WP's.






Title: Re:Aircraft Speed
Post by: Gameer_77 on 08 Sep 2002, 23:13:59
You could do:

#start
@speed _unit >40

_unit stop true

@Speed _unit <40
_unit stop false
goto "start"

But this makes the guy keep stopping and starting and won't work on planes i think.

 8)PEACE
Title: Re:Aircraft Speed
Post by: angusjm on 09 Sep 2002, 19:24:11
It's ok.  It was for a paradrop mission and it works now. Thanks