Hi guys,
I am working on a mission where the players need to pickup a backpack named "B_Messenger_Coyote_F" on one of the enemies but could not find the right commands to use in the condition box.
Also, is there some way to put the "Land_Money_F" item in the backpacks ? (it's a cosmetic item, a stack of dollars, not meant to be used by players)
I need help, thanks in advance ;)
Set it up like this:
//initPlayerLocal.sqf
player addEventHandler ["Take", {
params ["_unit", "_container", "_item"];
if (_container isEqualTo YourBackPackUnit AND _item isEqualTo "B_Messenger_Coyote_F") then {missionNamespace setVariable ["GOM_fnc_backpackTaken",true,true]};
}];
Trigger condition that changes task state:
time > 3 AND missionNamespace getVariable ["GOM_fnc_backpackTaken",false]
Demo mission.
Cheers