- Joined
- Jul 28, 2007
- Messages
- 920
I created attack detection but i dont have idea how to create it work properly, when unit attacks or is attacked, it must be activated, and 30 seconds after must be deactivated ( to disable some stuffs when activated ), but if unit is attacked/is attacking like 10 seconds after detection is activated it doesnt stacks... i dont have idea how to fix that... liek we have time line ( start 0 sec - end 100 sec ) and now at 10 sec unit is attacking or being attacked, detection is activated and will turn off at 40, but unit is attacking again at 30 so detection wont be deactivated at 40 but will at 60.
I hope i make my self clear...
Anyone idea ?
I hope i make my self clear...
Anyone idea ?