HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

local multiboard problem

02-10-2006, 11:29 PM#1
Linera
The board isn't updating to show players in partygroup
onto the player's party list

here is the trigger updating the board:
Trigger:
Party Boards
Collapse Events
Time - Every 0.10 seconds of game time
Conditions
Collapse Actions
Set multitemp = 3
Collapse For each (Integer B) from 1 to 6, do (Actions)
Collapse Loop - Actions
Collapse For each (Integer A) from 1 to 10, do (Actions)
Collapse Loop - Actions
Multiboard - Set the text for PartyList[(Integer A)] item in column 1, row 2 to (Name of (Player((Integer A))))
-------- Party Boards --------
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Player((Integer A))) is in PartyGroups[(Integer B)]) Equal to True
Collapse Then - Actions
Multiboard - Change the title of PartyList[(Integer A)] to Party
Multiboard - Change the number of rows for PartyList[(Integer A)] to ((Number of players in PartyGroups[(Integer B)]) + 1)
Collapse Player Group - Pick every player in PartyGroups[(Integer B)] and do (Actions)
Collapse Loop - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Picked player) Not equal to (Player((Integer A)))
Collapse Then - Actions
Multiboard - Set the text for PartyList[(Integer A)] item in column 1, row multitemp to (Name of (Picked player))
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
PartyLeader[(Integer B)] Not equal to 0
(Player(PartyLeader[(Integer B)])) Equal to (Picked player)
Collapse Then - Actions
Multiboard - Set the color for PartyList[(Integer A)] item in column 1, row multitemp to (9.80%, 90.20%, 72.55%) with 0.00% transparency
Collapse Else - Actions
Do nothing
Set multitemp = (multitemp + 1)
Collapse Else - Actions
Do nothing
Collapse Else - Actions
Multiboard - Change the title of PartyList[(Integer A)] to Solo
Multiboard - Change the number of rows for PartyList[(Integer A)] to 2
-------- player --------
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
PartyLeader[(Integer B)] Not equal to 0
(Player(PartyLeader[(Integer B)])) Equal to (Player((Integer A)))
Collapse Then - Actions
Multiboard - Set the color for PartyList[(Integer A)] item in column 1, row 2 to (9.80%, 90.20%, 72.55%) with 0.00% transparency
Collapse Else - Actions
Do nothing
02-11-2006, 03:43 AM#2
Chuckle_Brother
Well firsts things first, before you start going all multiplayer with this, make it work for a single instance. Once you get it working for one player it will be easy to make it work for many.