PDA

View Full Version : Altitude scripted



plumose 219
Jul 22 2009, 17:10
can any body tell me how to make heli,plane,jets ect,to start at a higher Altitude in the initialization section. thanks.

Puffins
Jul 22 2009, 17:21
Write this in the init field of the aircraft; this setPOS[0,0,xxx];

Where xxx is the height above ground you want, if you want to keep your aircraft at this height when the AI is flying add:

this flyInHeight xxx;

where xxx is the height to maintain - do note that it will go up/down depending on hills, so it wont go strictly after sea level(unless you are flying above the sea).

plumose 219
Jul 22 2009, 18:17
thanks puffins for that info : ),is there anyway to make modules weather,as in clouds to change there heights ?

---------- Post added at 07:17 PM ---------- Previous post was at 06:26 PM ----------