place_unit
Places a live unit at a position on a map.
Function
Synopsis
btech.map.place_unit( unit, map, position )
Arguments
DbRef|Object unit- The live unit.
DbRef|Object map- The destination BattleTech map.
BtechPosition position- The zero-based
xandycoordinates and optionalzaltitude. When provided,zmust be an integer from 0 through 10000. When omitted, the unit’s altitude is derived from the destination terrain rather than preserved; drop-surface state is cleared, and flying unit classes are marked as landed.
Returns
None.
Notes
If the unit is carrying or towing another live unit, that unit is also moved to the destination map at the same coordinates and altitude.