#Disabling weapon firing

1 messages · Page 1 of 1 (latest)

raw vapor
#

I'm trying to find a way to make it so if players either hit a trigger, or wait a specific amount of time, their weapons wont be able to shoot anymore. I looked everywhere and I tried everything, does anyone know how to work that out?

and if that isn't possible I'd want the same idea but emptying out ammo/stripping weapons instead

warm trail
#

you can use a game_player_equip with a strip function that's set off of a timer (as long as you are not using any other game_player_equip's for other actions)

raw vapor
#

nope ive got no other uses for game_player_equip, could you break down exactly how i would set a timer with a strip function?

warm trail
#

you can use a logic_timer and set the initial delay before first fire. Using the logic_timer's output to activate the game_player_equip with a strip spawn flag. Iv not tried this myself but I think that's how it could work

raw vapor
#

ill give it a shot tomorrow and see if it works out

raw vapor
# warm trail you can use a logic_timer and set the initial delay before first fire. Using the...

I'm actually already using a different method that im not particularly liking, thats why im looking for other ways.
basically I have a trigger that if touched will activate a servercommand "ent_fire weapon_* kill", but it has a glaring issue where when it gets rid of all the weapons, it also deletes the bomb and the gun you last used is stuck right in the middle of your screen unable to be used.

acoustic wyvern