Fissuras / fpscreatorengine

Automatically exported from code.google.com/p/fpscreatorengine
0 stars 0 forks source link

Additional Player Weapon Script Conditions #118

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This isn't an issue, this is an enhancement.

Would it be possible to add the following script conditions:

plrholdingweapon=X (where this would be true is player is holding a weapon and 
X=1 or is the player is not holding a weapon and X=0) - We currently have 
hasweapon=X for entities and it would be very useful to have something similar 
for the player.

plrweaponloaded=X (where this would be true is player's current weapon has at 
least 1 round in the clip and X=1 or the player's current weapon is empty and 
X=0) - we currently have ifweapon=X for entities and it would be very useful to 
have something similar for the player.

I could write the code and sumbit it here if you wish?

Original issue reported on code.google.com by christop...@gmail.com on 22 Sep 2011 at 9:35