Help with making a unit start mission in building or on tower.
Ive tried this method but doesnt work for me.
In the mission editor, put a Player unit near the tower you want, make the unit so that it is controllable by you. Place a trigger anywhere and set Activate to "Radio Alpha", change "Once" to "Repeatedly", and put the follwing linein the "On Activation" line:
hint format["Location: %1\nAzimut: %2",getpos player,getdir player]
Hit preview, and climb the tower. Position youself exactly where you want the unit to be, facing the way you want him and everything.
Radio in, (0-0-1), and the position and azimuth will be displayed on the screen.
Next place a unit near the tower.
Using your numbers, in his Init field type:
this setpos [x,y,z];
i opened a intro.sqm that came with this file and took the [x,y,z] of a unit that started the mission in a building on first floor.After making a trigger in the game editor
I started mission and went to the units position and excecuted the above instructions.
The [x,y,z] of unit was
[4897.741211, 63.130798, 6920.581543]
The [x,y,z] of the results i got were
[4899.23, 6921.18, 0.00323486]
Help please. any simple script would be a god send