Initial commit
This commit is contained in:
23
privatemark.sqf
Normal file
23
privatemark.sqf
Normal file
@ -0,0 +1,23 @@
|
||||
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;
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user