Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Set Escort Button
- if (player getVariable ["isEscorting",false]) then {
- _Btn4 ctrlSetText localize "STR_pInAct_StopEscort";
- _Btn4 buttonSetAction "[] call life_fnc_stopEscorting; closeDialog 0;";
- } else {
- _Btn4 ctrlSetText localize "STR_pInAct_Escort";
- _Btn4 buttonSetAction "[life_pInact_curTarget] call life_fnc_escortAction; closeDialog 0;";
- };
- /*if((_curTarget getVariable["Escorting",false])) then {
- _Btn2 ctrlSetText localize "STR_pInAct_StopEscort";
- _Btn2 buttonSetAction "[life_pInact_curTarget] call life_fnc_stopEscorting; [life_pInact_curTarget] call life_fnc_civInteractionMenu;";
- if(_currplayer distance player > _dis) then {_Btn2 ctrlEnable false;};
- } else {
- _Btn2 ctrlSetText localize "STR_pInAct_Escort";
- _Btn2 buttonSetAction "[life_pInact_curTarget] call life_fnc_escortAction; closeDialog 0;";
- if(_currplayer distance player > _dis) then {_Btn2 ctrlEnable false;};
- };*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement