Jump to content
Sign in to follow this  
JacobJ

Count the times displayAddEventHandler gets triggered?

Recommended Posts

Hello all

Atm I have this code and it works to load the script:

disableSerialization;

keyspressed = compile preprocessFile "wirecutter.sqf";
display = (findDisplay 46) displayAddEventHandler ["MouseButtonDown", "_this call keyspressed"];

How do I make a counter that counts the number of times the player pushes the mousebutton?

/Jacob

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
Sign in to follow this  

×