- Joined
- Oct 18, 2008
- Messages
- 1,591
Hey guys, long time from my last post 
I started to try a multiplayer multiboard again but it sucks... I want to place it in a loop-IntegerA but it doesn't really work...
EDIT: I upload the full code if there is any problem... I tested something, and looks like the code works, but doesn't show the multiboard. I used a 0 Integer A(now X) and got a memory error as it should give in that case, so it should really work...
EDIT3: PROBLEM SOLVED! I'll write down the solution, so ppl can find it
Take "Custom script: if ( GetLocalPlayer() == Player(( udg_X-1)) ) then" and put it before the "Create Multiboard"!
I started to try a multiplayer multiboard again but it sucks... I want to place it in a loop-IntegerA but it doesn't really work...
EDIT: I upload the full code if there is any problem... I tested something, and looks like the code works, but doesn't show the multiboard. I used a 0 Integer A(now X) and got a memory error as it should give in that case, so it should really work...
-
Init
-
Events
-
Time - Elapsed game time is 1.00 seconds
-
-
Conditions
-
Actions
-
For each (Integer X) from 1 to 12, do (Actions)
-
Loop - Actions
-
Multiboard - Create a multiboard with 6 columns and 20 rows, titled Skills
-
Set Abi_Table[X] = (Last created multiboard)
-
Multiboard - Hide (Last created multiboard)
-
For each (Integer B) from 1 to 1, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
PlayerClass[X] Equal to Necromancer
-
-
Then - Actions
-
For each (Integer C) from 1 to 20, do (Actions)
-
Loop - Actions
-
Multiboard - Set the text for (Last created multiboard) item in column 2, row C to (Name of Necro_Abilitys[C])
-
Multiboard - Set the text for (Last created multiboard) item in column 4, row C to (Name of Necro_Abilitys[(C + 20)])
-
Multiboard - Set the text for (Last created multiboard) item in column 6, row C to (Name of Necro_Abilitys[(C + 40)])
-
-
-
-
Else - Actions
-
-
-
-
Trigger - Run Loops <gen> (ignoring conditions)
-
Custom script: if ( GetLocalPlayer() == Player(( udg_X-1)) ) then
-
Multiboard - Show (Last created multiboard)
-
Custom script: endif
-
-
-
-
EDIT3: PROBLEM SOLVED! I'll write down the solution, so ppl can find it
Take "Custom script: if ( GetLocalPlayer() == Player(( udg_X-1)) ) then" and put it before the "Create Multiboard"!
Last edited: