Yoww89
New Member
- Reaction score
- 0
Put everything in the conditions and make the conditions return false (the last line should always be return false).
This is the most efficient and stable way to do things.
Use timers instead of TriggerSleepAction.
I just want someone to explain me why would use conditions instead of actions for the whole trigger be better, since conditions returns a boolean and actions return nothing?
Trigger:
- Event
- Conditions
- Actions
If we put all the "actions" code into the conditions, and have the condition then return false, the real Actions (which will be blank) will never be run. Efficient.
Wouldn't it be the same the opposite way? If all my code stand in the actions function and I insert no condition function?