1. #1
    Eevan80's Avatar Member
    Join Date
    Mar 2014
    Location
    Germany
    Posts
    472

    How to distinguish different conditions?

    Hello!

    I need a little help in the editor. I also posted a pic for better understanding.

    As you can see, i have set up a burn event for touching that blue platform. The rider starts to burn after two seconds after hitting the platform. What i want to do is, that the rider only starts to burn if he stays in contact with it for two seconds, so if he leaves the platform within the mark, the flames won't affect him.

    Would be great if anyone knows how to do it. Thanks in advance! :-)


    Share this post

  2. #2
    dasraizer's Avatar Senior Member
    Join Date
    Apr 2014
    Location
    UK, Isle of Wight
    Posts
    1,195
    hi, the hit trigger has some advance options, if you used On Active going to a clamp filter set to receive 120 ticks and send 1 with a wait of 120 (or 121) ticks in place of your delay filter, that should do it.

    what does the filter for On Fire do?
    Share this post

  3. #3
    Eevan80's Avatar Member
    Join Date
    Mar 2014
    Location
    Germany
    Posts
    472
    Originally Posted by dasraizer Go to original post
    hi, the hit trigger has some advance options, if you used On Active going to a clamp filter set to receive 120 ticks and send 1 with a wait of 120 (or 121) ticks in place of your delay filter, that should do it.

    what does the filter for On Fire do?
    Hi and thanks for the reply! Either i'm doing sth. wrong or it doesn't work. I'd go for the first one..

    Not sure if i understood you right. The problem is that the Impulse clamp filters only allow to "wait" and i'm not sure what you mean by "receiving". I can only change Min/Max Impulses.

    I've done it like you said using one clamp filter On Active and one On Hit (instead of the delay filter), then nothing happens.
    Share this post

  4. #4
    dasraizer's Avatar Senior Member
    Join Date
    Apr 2014
    Location
    UK, Isle of Wight
    Posts
    1,195
    oh yeah, my bad, silly min max naming :/

    open you hit trigger and uncheck disable after hit, replace On Hit with On Active which is pointing to the Impulse Clamp and remove the delay filter. the impulse clamp needs Min to set to 120 ticks, Max from set to 1 and wait set to 120 (or 121) then pass the impulse from this to your fire event.

    apologies for the confusion.
    Share this post

  5. #5
    Eevan80's Avatar Member
    Join Date
    Mar 2014
    Location
    Germany
    Posts
    472
    Thanks man and really no need to apologize, i'm happy you take the time to help me with this issue. I'll keep you updated! ;-)
    Share this post

  6. #6
    Eevan80's Avatar Member
    Join Date
    Mar 2014
    Location
    Germany
    Posts
    472
    It works perfectly, one less thing to worry about. :-) Thanks again for your time!
    Share this post