Forum Jump :

Author Message


Posts: 110
Rank:


Level: Member

Country: us
Location: WI
Occupation:
Age: 24
In-game name: Darkangel

 
#1 Posted at 2011-10-02 22:52        
     
Hello every one
Would any one know how to make guns fire blanks or dose little or no damage. I would like it to be a script really cant use a addon pack. Thanks i can understand if there isn't any script for it.


Author Message


Posts: 18902
Rank:


Level: Super Admin

Country: nl
Location: The Netherlands
Occupation:
Age: 38
In-game name: Foxhound

 
#2 Posted at 2011-10-02 23:05        
     
Use the fired eventhandler and delete the round which was just fired. Search the editing forums, I am sure this was explained before. Or check the wiki how to use eventhandlers.

Visit my family webshop desteigerhoutshop.nl.

Advertisement


Author Message

Dead3yez  

I am evil


Posts: 3115
Rank:


Level: Former Staff

Country: en
Location: North Yorkshire
Occupation: dead3yez
Age: 24
In-game name: dead3yez

 
#3 Posted at 2011-10-03 00:57        
     
As said, deleting the round as it's fired is the best option but there is a slight delay as when it's deleted. So weapons could still be deadly within 10 meters or so (before the round is deleted).


You might also be interested in:

unit allowdamage false;

and you could combine that with eventhandler hit for extra options.






Tags: I