Comrades in Arms Discussion Board
Hard question - Printable Version

+- Comrades in Arms Discussion Board (http://forum.ciahome.net)
+-- Forum: Comrades in Arms Life (http://forum.ciahome.net/forumdisplay.php?fid=3)
+--- Forum: Mission Making (http://forum.ciahome.net/forumdisplay.php?fid=8)
+--- Thread: Hard question (/showthread.php?tid=1516)



Hard question - iriz1 - 05-02-2009

Does anyone know how to put soldiers in second layer and so on?
And how to put soldiers on roofs?
And one more question how to put soldiers to watch out from windows?
??????????????????????????????????????????????????????????????

Sorry about my english if i wrote something wrong Smile




Re: Hard question - Mjolnir - 05-02-2009

Put in their int:

this setpos [(getpos this select 0),(getpos this select 1),X]

where X= the height of the roof/floor you want to put them on. Needs some experimentation to find out exactly.


Re: Hard question - Marto - 05-02-2009

Code:
this setpos ((object XXXXX) buildingPos 1)

xxxxx is where you put the id #

buildingPos # : There are usually multiple places a unit can be placed in the building so try changing the number. Or you can give a waypoint to a unit and change this buildingPos # with a dropdown menu in the waypoint field.

The position #'s are at windows etc, and other useful position in the buildings.