23 lines
399 B
Plaintext
23 lines
399 B
Plaintext
this spawn {
|
|
// Who should see the marker?
|
|
_target = commando;
|
|
|
|
// Marker settings
|
|
_label = "Resupply";
|
|
_color = "ColorCIV";
|
|
_marker = "hd_dot";
|
|
|
|
waitUntil
|
|
{
|
|
sleep 1;
|
|
!isNull player;
|
|
};
|
|
|
|
if (player == _target) then
|
|
{
|
|
_m = createMarkerLocal ["mark_" + (str position _this), position _this];
|
|
_m setMarkerText _label;
|
|
_m setMarkerColor _color;
|
|
_m setMarkerType _marker;
|
|
};
|
|
}; |