- Joined
- Mar 17, 2007
- Messages
- 412
A MUI concern - [Solved]
I seen this in Magtheridon96 MUI guide, my question is once you set the write & read index to 0 isn't that going to cancel out the rest of the ones above in the write index to 0? Once you 0 out a integer isn't it for the whole integer itself? or just that 1 number? I'm a bit confused by this
I seen this in Magtheridon96 MUI guide, my question is once you set the write & read index to 0 isn't that going to cancel out the rest of the ones above in the write index to 0? Once you 0 out a integer isn't it for the whole integer itself? or just that 1 number? I'm a bit confused by this
-
Pro Trigger
-
Events
- Unit - A unit starts the effects of an ability
-
Conditions
- (Ability being cast) Equal to MyDerpyAbility
-
Actions
- -------- WriteIndex and ReadIndex are integer variables --------
- Set WriteIndex = (WriteIndex + 1)
- Set caster[WriteIndex] = (Triggering unit)
- Wait 5.00 seconds
- Set ReadIndex = (ReadIndex + 1)
- Unit - Remove caster[ReadIndex] from the game
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ReadIndex Equal to WriteIndex
-
Then - Actions
- Set ReadIndex = 0
- Set WriteIndex = 0
- Else - Actions
-
If - Conditions
-
Events
Last edited: