PlaceUnitXYR
From Original War Support Wiki
SAIL Functions/P -> PlaceUnitXYR
Description
Places specified unit near defined coordinates. Parameter R is max distance.
Template
PlaceUnitXYR(unit:integer x:integer y:integer r:integer materialisation:boolean)
Usage
PlaceUnitXYR(unit_1, 19, 92, 15, true);
unit_1 - unit placed with function
19 - x coordinate
92 - y coordinate
15 - r - max distance from (19,92) point.
materialisation - use "true" for materialisation, otherwise "false"