Jump to content
Sign in to follow this  
mandaloin

Disable select fire/Force fire mode?

Recommended Posts

I'm trying to lock certain weapons to single shot only, and prevent any kind of burst or full auto fire. This would include the player's weapon. I searched for about an hour to no avail, so any help will be greatly appreciated.

Share this post


Link to post
Share on other sites

There doesn't seem to be a method like "setFireMode", just "currentWeaponMode" which only returns the type.

Somewhat dirty you could try to use an EventHandler to at least delay the next shot, like (not tested):

player addEventHandler ["Fired", {sleep 2;}];

The player could still select Full Auto but I think he would have to wait for 2 seconds here, for the next shot.

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  

×