saxon1 12 Posted November 20, 2015 Hey im scanning the internet for a code to help me try and make a metal/weapon detector for my mission but ive had no luck. what im looking for is very simple: - An object/trigger zone that detects any weapon on the player in their uniform, vest, backpack or in their hands without placing all the weapon classnames into an array in the SQF. i saw the code "weapons player" that apparently does something with listing all the weapons for you, but im not sure. can anyone help me try and solve how to make an object detect a player carrying a weapon on them either through uniform/backpack/vest or hands i will be very gratefull Share this post Link to post Share on other sites
killzone_kid 1333 Posted November 21, 2015 if !(weapons player isEqualTo []) then {hint "you carry a weapon"}; 1 Share this post Link to post Share on other sites
saxon1 12 Posted November 21, 2015 if !(weapons player isEqualTo []) then {hint "you carry a weapon"}; OMG brilliant, thank you soooo much, works like a charm :) Share this post Link to post Share on other sites