Jump to content
anfo

Trigger delete itself

Recommended Posts

Hi all

 

I am using a trigger to set the fuel of a tank to 0 after it enters it. However, I fear that when the same tank is later refueled, the same trigger that drained it will set it back to 0 soon after. Can a trigger be set to:
 

1. _tank setFuel 0;
2. Delete itself ?

 

Anfo

 

edit: thinking about it, as long as "repeatable" is not checked, the trigger shouldn't refire?

Share this post


Link to post
Share on other sites

Nope, when the "repeatable" is unchecked, the trigger will fire only once. So you don't need to worry.

 

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×