Jump to content
Kill3rCat

"Take" EH not firing when picking up item to slot

Recommended Posts

I have added a "Take" eventhandler to a ground weapon holder which contains an "ItemMap". If the player has no map, then when they pick up the map it will go straight to their Map slot in their inventory, and for some reason this causes the "Take" eventhandler to never fire. The EH fires fine if the map is manually dragged into their uniform/vest/backpack container, but this behaviour is undesirable. Is this a known issue, and are there any workarounds?

Share this post


Link to post
Share on other sites

Take EH must be added to a unit (who is able to take something), not a container.

Share this post


Link to post
Share on other sites

Hmm, well it (mostly) works when added to a container, and I'd rather not have to add the EH to every unit

Share this post


Link to post
Share on other sites
17 hours ago, Kill3rCat said:

Hmm, well it (mostly) works when added to a container, and I'd rather not have to add the EH to every unit

 

Since V 2.14, yes, but that doesn't mean it's perfect.

This EH will not fire, if added to crates or WHs, when picking assigned items (map, gps, watch... ) or even headgears, googles, ngv, if their slots are empty and automatically filled. (As you mentioned, it's OK when manually placed in uniform, vest or backpack). The only slots correctly firing this EH are all weaponry (weapons, mags, accessories), uniforms, vests and range finders/Laser designators.

I can see you already open a ticket for that.

 

On the other hand, it's fully OK when EH is added to players.

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

×