Bnae 1431 Posted March 11, 2017 Hey What would be the best way to check if any of multiple inputActions are active? I cannot come up with anything except multiple if conditions. I'm trying to simulate weapon info box if 'Fade out' is active. inputAction "reloadMagazine" > 0 Share this post Link to post Share on other sites
serena 151 Posted March 11, 2017 private _active = {inputAction _x > 0} count ["ReloadMagazine", "Throw", "MiniMap"] > 0; * measurements have shown that the shortest variant is also the fastest Share this post Link to post Share on other sites
Bnae 1431 Posted March 11, 2017 49 minutes ago, serena said: private _active = {inputAction _x > 0} count ["ReloadMagazine", "Throw", "MiniMap"] > 0; Thanks, i have been brainfarting with these little things lately Share this post Link to post Share on other sites