Jump to content

Home

I could have use for a "trigger_spam" or something like that...


|GG|Carl

Recommended Posts

I have a shooter_blaster on my map, but it only fires one shot...

 

It's actually even more complicated than that: I have a player-usable-trigger, which is linked to anoter trigger, which is linked to the gun;

 

Button>Trigger>Gun

 

So, I need to make the trigger get used many times, instead of just once.

 

Any ideas?

Link to comment
Share on other sites

aha i know

just make a load of triggers that get triggered by the button

then make the "delay" value for each one a bit more depending on how quick you want it to fire

so like the first one would be a value of 0 the next 0.5,1, 1.5 and so on.........

Link to comment
Share on other sites

Originally posted by vas_zag

aha i know

just make a load of triggers that get triggered by the button

then make the "delay" value for each one a bit more depending on how quick you want it to fire

so like the first one would be a value of 0 the next 0.5,1, 1.5 and so on.........

Yes, I thought of that as well, but is there no easyer way?

Link to comment
Share on other sites

If your first thing is a func_button you're gonna have a helluva time getting that shooter to fire more than once, you need to use something like a trigger_multiple so it can be fired every x seconds if you merely hold down the use button. You could set the func_button to come back up again quickly to re-fire but it'd look messy.

 

However if for some odd reason you must use a func_button, you could use Icarus to make the shooter fire several times and the script would involve just a target_scriptrunner instead of multiple entities...

 

...I really do think the button needs to go though.

Link to comment
Share on other sites

Hang on...you want to be able to fire it many times but only when the player is using it?

 

If that's the case you really do just need the trigger_multiple and shooter_blaster. There is no need at all for the trigger_once, a trigger_once means just that, it can only ever be triggered once!

 

If you only ever want it to be fireable once, scrap the multiple altogether.

Link to comment
Share on other sites

Here is a more exact description:

 

You push a console (trigger multipy) ,which makes the guns fire at a breakable wall (which doesn't actually take damage). after a while, a delayed trigger_once makes the wall explode.

 

The problem is that it looks sorta weird when the guns shoot one shot, and 10 secs later, the wall explodes :p.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...