fixed #813 and cutext confirmation fixes

This commit is contained in:
[VB]AWOL
2013-11-29 13:41:48 -06:00
parent 6a5c4f6b67
commit 9a1193eacc
3 changed files with 12 additions and 5 deletions

View File

@@ -3,7 +3,8 @@ _target = _this select 0;
_caller = _this select 1;
_action = _this select 2;
_caller removeAction _action;
call fnc_usec_medic_removeActions;
r_action = false;
_callerID = _caller getVariable "CharacterID";
_targetID = _target getVariable "CharacterID";
@@ -16,8 +17,8 @@ _rfriendlies = _target getVariable ["friendlies", []];
if (!(_callerID in _rfriendlies)) then {
// caller
titleText [format["You have tagged a player as friendly. Waiting for other player to accept.",(name _target)], "PLAIN DOWN"];
titleText ["You have tagged a player as friendly. Waiting for other player to accept.", "PLAIN DOWN"]; // TODO: localize
// target
PVDZE_plr_FriendRQ = format[(localize "str_epoch_player_2"), (name _caller)];
PVDZE_plr_FriendRQ = _target;
publicVariable "PVDZE_plr_FriendRQ";
};