Unit Tracker
Creates a path of markers to indicate the route taken by a unit.
Two units are tracked on their way through an urban area:
Marker looks (size, color, type, distance, trail length) can be customized.
Display of waypoints is another option:
Limited length trails:
See the Urban Patrol Script page for more examples.
To do simple, single indicator tracking, you can use the following methods:
Tracking via in-game icons
Create a trigger with the following specs:
- Size:0/0
- Activator: NONE/PRESENT/REPEATING
- Condition:format["%1",trg1]!="false"
- On Act:player reveal unitname; trg1=false
- On Dea:trg1=true
This will constantly reveal the unit
named "unitname" to the player, making ArmA displaying its position on the map.
Tracking via custom marker
Create a marker with the required look, give it a name
Create a trigger with the following specs:
- Size:0/0
- Activator: NONE/PRESENT/REPEATING
- Condition:format["%1",trg1]!="false"
- On Act:"markername" setMarkerPos getPos unitname; trg1=false
- On Dea:trg1=true
This will constantly synch the marker's position with the position of unit "unitname".
[back to main page]