- Joined
- Jul 14, 2020
- Messages
- 128
Greetings hive
I am creating a skill that stops time, this skill can only be cast by one unit at a time, which means that simultaneous casts are not allowed.
And what I want to do to make it more realistic is to place a Wait, verifying if the ability to stop time is active with a bool, in some systems or templates of my map (not in all).
My doubt is that if I do that, it can damage the trigger at the moment or in the long term ?
As I said that this ability can only be launched by one user at a time, always, then it sets a Bool to True that later allows to put a wait in the template/systems, and at the end of the ability it sets the same Bool to False, which allows the systems/templates to work again.
For more details I attach this:
Thanks
I am creating a skill that stops time, this skill can only be cast by one unit at a time, which means that simultaneous casts are not allowed.
And what I want to do to make it more realistic is to place a Wait, verifying if the ability to stop time is active with a bool, in some systems or templates of my map (not in all).
My doubt is that if I do that, it can damage the trigger at the moment or in the long term ?
As I said that this ability can only be launched by one user at a time, always, then it sets a Bool to True that later allows to put a wait in the template/systems, and at the end of the ability it sets the same Bool to False, which allows the systems/templates to work again.
For more details I attach this:
-
Some Loop Trigger of a System/Template
-
Events
-
Time - Every 0.02 seconds of game time
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Conditions
-
STOPTIME_Bool Igual a True
-
-
Actions
-
Wait 10.00 seconds
-
-
Else - Actions
-
-
Unit Group - Pick every unit in SomeSystemGroup and do (Actions)
-
Actions
-
Some Loop Trigger of a System/Template actions
-
-
-
-
Thanks
