bennettonn 10 Posted December 9, 2014 for example: I have a task that says to pick up the clothes of a body of a civilian, I want what's task is complete only when the player pick up the outfit of this civil. from now on I'm already grateful help from anyone. Share this post Link to post Share on other sites
jshock 513 Posted December 9, 2014 (edited) Try a "Take" EH assigned to the player. Something like...(not 100% on whether it will work as intended) player addEventHandler ["Take", { _civUni = uniform (_this select 1); if ((_this select 2) isEqualTo (_civUni)) then { //task completed code }; }]; Edited December 9, 2014 by JShock Share this post Link to post Share on other sites
bennettonn 10 Posted December 10, 2014 excuse not have said before but I am very novice in this business to create missions and I have no idea how to use it, so if possible insinar of how to use it I am grateful ---------- Post added at 00:05 ---------- Previous post was at 00:01 ---------- Try a "Take" EH assigned to the player.Something like...(not 100% on whether it will work as intended) player addEventHandler ["Take", { _civUni = uniform (_this select 1); if ((_this select 2) isEqualTo (_civUni)) then { //task completed code }; }]; excuse not have said before but I am very novice in this business to create missions in 3 gun and I have no idea how to use it, so if possible insinar of how to use it I am grateful Share this post Link to post Share on other sites
jshock 513 Posted December 10, 2014 Copy and paste into your player unit's init field in the editor. Share this post Link to post Share on other sites
bennettonn 10 Posted December 11, 2014 for example: I have a task that says to pick up the clothes of a body of a civilian, I want what's task is complete only when the player pick up the outfit of this civil, if possible explain how to use anything you send because I do not know much editing in ARMA 3. from now on I'm already grateful help from all. Share this post Link to post Share on other sites
dreadedentity 278 Posted December 11, 2014 If you're trying to do this from editor then you need to put down a game logic and put this in the initialization field 0=[] spawn {waitUntil {uniform player == "CLOTHINGTYPE"}; myTask setTaskState "SUCCEEDED";}; Share this post Link to post Share on other sites
jshock 513 Posted December 11, 2014 (edited) This is a duplicate thread to the following: http://forums.bistudio.com/showthread.php?186486-Complete-a-task-only-if-I-m-wearing-a-specific-outfit Edited December 12, 2014 by JShock Share this post Link to post Share on other sites
bennettonn 10 Posted December 11, 2014 I want to apologize for having made two post on the same subject was to post on another site I'm sorry Share this post Link to post Share on other sites
maddogx 13 Posted December 12, 2014 I want to apologize for having made two post on the same subject was to post on another site I'm sorry No worries. Threads have been merged. Share this post Link to post Share on other sites