func_button + trigger_push Created 5 years ago2018-09-13 22:04:28 UTC by kazik kazik

Created 5 years ago2018-09-13 22:04:28 UTC by kazik kazik

Posted 5 years ago2018-09-13 22:04:28 UTC Post #340869
Hello,

I'm trying to get something to work, the following entities are used:

1. trigger_multiple
2. func_button
3. multisource
4. trigger_push

The scenario goes as follow:
  • Player touches trigger_multiple
  • It triggers the func_button
  • Which in turn triggers multisource
  • Which in turn triggers trigger_push
The problem is in the behavior. Currently, it sort of works as a toggle. Every time trigger_multiple is touched, the trigger_push is either activated or deactivated and remains in that state until it is re-triggered and then switches the state.

However, what I'm actually INTENDING to achieve (but failing to do so) is that every time trigger_multiple is touched, trigger_push is just briefly activated for a split second and then automatically deactivates again say 0.5s later, basically making it an instant short burst rather than making it stay.

Any pointers as to how achieve this?
Posted 5 years ago2018-09-13 23:53:57 UTC Post #340870
Make the multisource activate a multi_manager, then just set the attributes of the multi_manager to the name of your trigger_push and adjust the delays.
User posted image
You don't need to add the "#1", that gets added automatically if you add the same target more than once, but it will trigger it anyways.
torekk torekkProcrastinator of the Year
Posted 5 years ago2018-09-14 14:08:26 UTC Post #340875
Thanks a lot, that helped.
It's working as it should now.
Posted 5 years ago2018-09-14 23:31:55 UTC Post #340880
No problem.
torekk torekkProcrastinator of the Year
Posted 5 years ago2018-09-15 15:21:49 UTC Post #340888
On a side note: All this time I thought I couldn't trigger the same target in the same multimanager. I thought it had to be in a new multimanager. haha
You must be logged in to post a response.