I'm a very big bot :D help Created 12 years ago2012-06-16 13:14:55 UTC by alch1 alch1

Created 12 years ago2012-06-16 13:14:55 UTC by alch1 alch1

Posted 12 years ago2012-06-16 13:14:55 UTC Post #307146
I don't understand anything about these multisources, multiples etc. :D Can anyone simply tell me how to do that: We have inactive trigger_hurt. I activate it with func_button. How to do that after for example 5 seconds tigger_hurt stops working :D?
Posted 12 years ago2012-06-16 15:18:49 UTC Post #307148
multisource can be a pain, and i recommend using trigger_changetargets in place of them where you can, yet i can't think of a way to use them here, so try trigger_relay.

Setup
For your trigger_hurt brush-based entity, use these settings:
name: hurt
damage type: set a damage type, tho i dunno if this is needed
*Also, have the "start off" flag checked on.

Then, you have 2 trigger relays: one called hurt_relay_on and one called hurt_relay_off. have them both target the "hurt" trigger_hurt entity, with obviously the "on" relay's state set to on, and the "off" relay set to off.

Finally, create a multimanager("multithreaded" flag turned on), give it a name, and have your button target it. use settings:

0.01 - hurt_relay_on
4.99 - hurt_relay_off

and if all goes well hitting the button should cause the trigger_hurt to activate for 5 seconds and then shut off. I would also set the button reset time to 5 seconds.
Captain Terror Captain Terrorwhen a man loves a woman
Posted 12 years ago2012-06-16 15:24:14 UTC Post #307151
<3 :DDD
Works :)

can i do the same with trigger push?
Posted 12 years ago2012-06-17 10:54:29 UTC Post #307181
yes
Posted 12 years ago2012-06-17 17:45:17 UTC Post #307201
Wouldn't it be wasteful to offer help to you, considering you're a bot?
Bots don't understand socialization.
Crollo CrolloTrollo
You must be logged in to post a response.