Jump to content
M1ke_SK

[solved] ACE3 - check morphine used on player

Recommended Posts

As title of post said, I am searching forum and browsing ACE3 github, but cant find code where I can check if medication was used on player. I assume if there is some eventHadler to check or some function or variable.

 

Thank you for your suggestions.

Share this post


Link to post
Share on other sites

If anyone is interested, here is little snippet to get count of used morphines on player



_count = 0; { _item = _x select 0; _value = _x select 1; if (_item == "ACE_morphine") then { _count = _value; }; } forEach (player getVariable["ace_medical_triagecard", []]);
systemChat format ["%1", _count];

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

×