- Joined
- Nov 14, 2004
- Messages
- 159
This part is making crash, I can't figure out why. I'm trying set variable to make it easy to create multiboard (multiboard is pain in the ass for me).
someNum is integer
IsPlaying is boolen array
PlayerNum is integer array
I'm trying to make it that.. example
there's player in slot 1
computer in slot 3
computer in slot 10
shows up in
IsPlaying
index 1 = true, 3 = true, 10 = true
PlayerNum
index 1 = 1, 2 = 3, 3 = 10
*edit - i tried even smaller trigger, it even still crash, what the heck? can someone explain?*
-
Player Group - Pick every player in (All players) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Picked player) slot status) Equal to Is playing
-
Or - Any (Conditions) are true
-
Conditions
- ((Picked player) controller) Equal to Computer
- ((Picked player) controller) Equal to User
-
Conditions
-
Then - Actions
- Set someNum = (someNum + 1)
- Set IsPlaying[(Player number of (Picked player))] = True
- Set PlayerNum[someNum] = (Player number of (Picked player))
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
someNum is integer
IsPlaying is boolen array
PlayerNum is integer array
I'm trying to make it that.. example
there's player in slot 1
computer in slot 3
computer in slot 10
shows up in
IsPlaying
index 1 = true, 3 = true, 10 = true
PlayerNum
index 1 = 1, 2 = 3, 3 = 10
*edit - i tried even smaller trigger, it even still crash, what the heck? can someone explain?*
- For each (Integer A) from 1 to 12, do (If (IsPlaying[(Integer A)] Equal to True) then do (Set PlayerNum[((Integer A) - someNum)] = (Integer A)) else do (Set someNum = (someNum + 1)))
Last edited: