I just want to know if it is possible to spawn an unit inside a building ?
In the editor each time I place an unit over a building it keeps spawning on the roof.
I can't use waypoints because when i do so the units don't go precisely were I want them to go;
Further more my mission contains a lot of scripting/triggers/syncronisation depending on existing waypoint for the unit I want to spawn inside the building.
So is there a command or something to do in the sqs ?
By the way, how can an unit go upstairs in the hotel ?
put this in the init box of the units
this setpos [ getPos this select 0, getPos this select 1, -2]
change the last value to the distance in metres they should be adjusted. AI is currently too stupid to work with buildings however so its kinda pointless unless you only require the unit to stand there and not move
Thanks a lot it works, but indeed the AI is really ...special.
I have assigned a waypoint in order to synchronise what the unit is supposed to do (kill someone) when a trigger is triggered...and ..well..now he spawns inside the building but runs outside as soon he understand he is in a building
i have had an AI unit chase me into a building, and hunt me down inside.. maybe it was a fluke.