ACE3/addons/respawn/functions/fnc_updateRallypoint.sqf

19 lines
443 B
Plaintext
Raw Normal View History

// by commy2
#include "script_component.hpp"
2015-04-15 18:50:03 +00:00
private ["_rallypoint", "_side", "_position"];
_rallypoint = _this select 0;
_side = _this select 1;
2015-04-15 18:50:03 +00:00
_position = _this select 2;
if (!hasInterface) exitWith {};
private ["_marker", "_markerDate"];
_marker = _rallypoint getVariable [QGVAR(marker), ""];
_markerDate = _rallypoint getVariable [QGVAR(markerDate), ""];
2015-04-15 18:50:03 +00:00
_marker setMarkerPosLocal _position;
_marker setMarkerTextLocal _markerDate;