OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: MeltedAd on 14 Oct 2003, 12:49:26
-
Can the start speed of this plane be changed? When i place this in the editor as player the plane starts travelling at about 1000. This is great, a nice and fast plane, but by the time you've managed to slow down you've already overshot the entire island. How do I set the initial velocity?
-
In the init field of a flying plane:
plane setVelocity [0,100,0]
would give the plane an initial speed of 100 m/sec (360 km/h) due north.
[100,0,0] -> 100 m/sec eastwards.
Remember to point the plane in the right direction
-
thanks mate :thumbsup: