- Joined
- Jun 29, 2010
- Messages
- 788
I was nearly done completing this system but then then when I tested it the multiboard part where I set the width wasn't working. Here it is:
-
startmultiboard
-
Events
- Time - Elapsed game time is 0.01 seconds
- Conditions
-
Actions
- -------- Set the units below --------
- Set playersunit[1] = Paladin 0000 <gen>
- Set playersunit[2] = Blademaster 0022 <gen>
- -------- Set this variable jsut below as the value of the highest array in this trigger. For example, if the highest array is pants[90] then we set this as 90 --------
- Set highestvalue = 3
- -------- -------------------------------- --------
- Set helmet[0] = helmet 0
- Set helmet[1] = helmet 1
- Set helmet[2] = helmet 2
- Set helmet[3] = helmet 3
- Set helmetamount = 3
- Set helmetbuff[0] = Item Hero Stat Bonus (+2 All Stats)
- Set helmetbuff[1] = Item Hero Stat Bonus (+10 Agility)
- Set helmetbuff[2] = Item Hero Stat Bonus (+1 Strength)
- Set helmetbuff[3] = Item Hero Stat Bonus (+1 Intelligence)
- -------- -------------------------------- --------
- Set pants[0] = Claws of Attack +15
- Set pants[1] = Claws of Attack +15
- Set pants[2] = Claws of Attack +15
- Set pants[3] = Claws of Attack +15
- Set pantsamount = 3
- Set pantsbuff[0] = Item Hero Stat Bonus (+2 All Stats)
- Set pantsbuff[1] = Item Hero Stat Bonus (+2 All Stats)
- Set pantsbuff[2] = Item Hero Stat Bonus (+2 All Stats)
- Set pantsbuff[3] = Item Hero Stat Bonus (+2 All Stats)
- -------- -------------------------------- --------
- Set shield[0] = Claws of Attack +15
- Set shield[1] = Claws of Attack +15
- Set shield[2] = Claws of Attack +15
- Set shield[3] = Claws of Attack +15
- Set shieldamount = 3
- Set shieldbuff[0] = Item Hero Stat Bonus (+2 All Stats)
- Set shieldbuff[1] = Item Hero Stat Bonus (+2 All Stats)
- Set shieldbuff[2] = Item Hero Stat Bonus (+2 All Stats)
- Set shieldbuff[3] = Item Hero Stat Bonus (+2 All Stats)
- -------- -------------------------------- --------
- Set shirt[0] = Claws of Attack +15
- Set shirt[1] = Claws of Attack +15
- Set shirt[2] = Claws of Attack +15
- Set shirt[3] = Claws of Attack +15
- Set shirtamount = 3
- Set shirtbuff[0] = Item Hero Stat Bonus (+2 All Stats)
- Set shirtbuff[1] = Item Hero Stat Bonus (+2 All Stats)
- Set shirtbuff[2] = Item Hero Stat Bonus (+2 All Stats)
- Set shirtbuff[3] = Item Hero Stat Bonus (+2 All Stats)
- -------- -------------------------------- --------
- Set sword[0] = Claws of Attack +15
- Set sword[1] = Claws of Attack +15
- Set sword[2] = Claws of Attack +15
- Set sword[3] = Claws of Attack +15
- Set swordamount = 3
- Set swordbuff[0] = Item Hero Stat Bonus (+2 All Stats)
- Set swordbuff[1] = Item Hero Stat Bonus (+2 All Stats)
- Set swordbuff[2] = Item Hero Stat Bonus (+2 All Stats)
- Set swordbuff[3] = Item Hero Stat Bonus (+2 All Stats)
- -------- selfexplanatory and used to make the system more easy to use incase you would like to add another equipment type --------
- Set equipmenttypes[13] = 5
- -------- leave these ones below --------
-
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) controller) Equal to User
-
Then - Actions
- Multiboard - Set the width for playersmultiboard[(Player number of (Picked player))] item in column 1, row 1 to 100.00% of the total screen width
- Multiboard - Set the width for playersmultiboard[(Player number of (Picked player))] item in column 1, row 2 to 100.00% of the total screen width
- Multiboard - Set the width for playersmultiboard[(Player number of (Picked player))] item in column 1, row 3 to 100.00% of the total screen width
- Multiboard - Set the width for playersmultiboard[(Player number of (Picked player))] item in column 1, row 4 to 100.00% of the total screen width
- Multiboard - Set the width for playersmultiboard[(Player number of (Picked player))] item in column 1, row 5 to 100.00% of the total screen width
- Multiboard - Set the width for playersmultiboard[(Player number of (Picked player))] item in column 2, row 1 to 100.00% of the total screen width
- Multiboard - Set the width for playersmultiboard[(Player number of (Picked player))] item in column 2, row 2 to 100.00% of the total screen width
- Multiboard - Set the width for playersmultiboard[(Player number of (Picked player))] item in column 2, row 3 to 100.00% of the total screen width
- Multiboard - Set the width for playersmultiboard[(Player number of (Picked player))] item in column 2, row 4 to 100.00% of the total screen width
- Multiboard - Set the width for playersmultiboard[(Player number of (Picked player))] item in column 2, row 5 to 100.00% of the total screen width
- Multiboard - Show all multiboards
- Trigger - Add to retrieve item <gen> the event (Player - (Picked player) Presses the Right Arrow key)
- Trigger - Add to multiboardup <gen> the event (Player - (Picked player) Presses the Up Arrow key)
- Trigger - Add to multiboarddown <gen> the event (Player - (Picked player) Presses the Down Arrow key)
- Trigger - Add to toggle and untoggle multiboard <gen> the event (Player - (Picked player) types a chat message containing -toggle multiboard as An exact match)
- Trigger - Add to playertypes <gen> the event (Player - (Picked player) types a chat message containing -equip as A substring)
- Multiboard - Create a multiboard with 2 columns and equipmenttypes[13] rows, titled ((Name of (Picked player)) + 's Inventory)
- Set playersmultiboard[(Player number of (Picked player))] = (Last created multiboard)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Events