Jump to content
Rawshark

[Solved] Deleting a trigger on picking up an item

Recommended Posts

The idea here is that on picking up a toolkit I want a named trigger deleted. I have tried debugging via hints to see if I can get a trigger to activate by picking up a toolkit that would be placed in a player's backpack via

"ToolKit" in backpackItems player;

but the hint doesn't fire. Anyone know how I could get this to work? Thanks

Share this post


Link to post
Share on other sites

This might help:

 

_items = items player;

if ("ToolKit" in _items) then {

// script

};

 

 

 

  • Like 1

Share this post


Link to post
Share on other sites

Thanks, I might try and do it via a script. Ideally though looking to execute it via a trigger and

"ToolKit" in _items

as part of the trigger condition doesn't work to activate the hint.

Share this post


Link to post
Share on other sites

Of course! All this time and it was the brackets that stumped me 😅Thanks for the help

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×