Quack O'Neill 11 Posted February 25, 2022 I have a task synced to the player, a task state. Task state is connected to the Trigger I had a look around and i found this code below and it worked for the guy in the thread i found it in (thread was from 2019), but it wont work for me. It dont give me any errors but the trigger condition isnt met either when i place a map in the map inventory slot. ("itemMap" in assignedItems player); Screenshot of Trigger settings this code below also dosnt work. but it dose work for a hand gun with HandgunWeapon instead of ItemMap !(itemMap Jackson==""); Share this post Link to post Share on other sites
Quack O'Neill 11 Posted February 25, 2022 if i put the exclamation mark in like this the condition is met and the trigger is triggered even if there is no map in my map slot or backpack or vehicle or vest. For a while i thought it was working but it wasnt 😞 !("itemMap" in assignedItems player); Share this post Link to post Share on other sites
_foley 192 Posted February 25, 2022 `in` makes case-sensitive comparison that's why it never matches the map. Try "ItemMap" instead of "itemMap". 2 Share this post Link to post Share on other sites
Play3r 147 Posted February 26, 2022 remember that the ! infront of the text is the same as Not("itemMap" in assignedItems player); so try it without the ! maybe that will work. 1 Share this post Link to post Share on other sites
pierremgi 4906 Posted February 26, 2022 On 2/25/2022 at 5:04 PM, _foley said: `in` makes case-sensitive comparison that's why it never matches the map. Try "ItemMap" instead of "itemMap". Yes! "ItemMap" in assignedItems player btw your preset condition civilian not present is totally useless with such condition. Any preset condition works along with the magic variables this or thisList in condition (or activation) field. 1 Share this post Link to post Share on other sites