Jump to content
Sign in to follow this  
Oberon3d

Starting height

Recommended Posts

Hi.

How can I change the height a unit starts...

I want to do some units to appear on top of a building and then drop a few inches so they start the mission on top of a building...

Cheers smile.gif

Share this post


Link to post
Share on other sites

In it's INITIALIZATION field, put:

this flyinheight 100

To fly it at 100. Check the spelling in the ref manual.

Share this post


Link to post
Share on other sites

Put this in your units init field:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">This setpos [getpos this select 0, getpos this select 1, (getpos this select 2) + 10]<span id='postcolor'>

10 is the height in meters you want the unit to start at.

@BaronVonRed, that is for flying vehicles not any unit. the flyinheight command also has to be used from a trigger/script/waypoint, not an init field afaik.

RED

Share this post


Link to post
Share on other sites

Flyinheight can be used in init fields, just only works on aircraft.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×