- Joined
- Jul 5, 2010
- Messages
- 1,132
I have a problem. I made a spell that works fine, and it is also MUI. My problem is cleaning all of the leaks.
My function can't be:
So, how do I make this MUI?
Do I have to make 12 If-Then-Else actions like this:
My idea was actually something like this:
My function can't be:
-
Actions:
-
Custom script: call RemoveLocation(udg_Attack_Point[1])
-
So, how do I make this MUI?
Do I have to make 12 If-Then-Else actions like this:
-
Actions:
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Player number of (Triggering player)) equal to 1
-
-
Then - Actions
-
Custom script: call RemoveLocation(udg_Attack_Point[1])
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Player number of (Triggering player)) equal to 2
-
-
Then - Actions
-
Custom script: call RemoveLocation(udg_Attack_Point[2])
-
-
Else - Actions
-
-
-
-
My idea was actually something like this:
-
Actions:
-
For every (Integer A) from 1 to 12, do (Actions):
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Integer A) equal to (Player number of (Triggering player))
-
-
Then - Actions
-
Custom script: call RemoveLocation(udg_Attack_Point[Integer A])
-
-
Else - Actions
-
-