HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Problems Updating Multiboard

11-17-2006, 11:19 AM#1
TheSonOfCulture
I cannot find what is wrong with my triggers. What happens is that if I am on team 1, it will only update my stats, however if I am on team two, all the stats update correctly.

Trigger:
UpdateMultiboard
Events
Conditions
Collapse Actions
Set Scores[1] = 0
Set Scores[2] = 0
Collapse For each (Integer A) from 1 to 6, do (Actions)
Collapse Loop - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
Points[(Integer A)] Less than or equal to 0
Collapse Then - Actions
Set Points[(Integer A)] = 0
Collapse Else - Actions
Set Scores[1] = (Scores[1] + Points[(Integer A)])
Collapse For each (Integer A) from 7 to 12, do (Actions)
Collapse Loop - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
Points[(Integer A)] Less than or equal to 0
Collapse Then - Actions
Set Points[(Integer A)] = 0
Collapse Else - Actions
Set Scores[2] = (Scores[2] + Points[(Integer A)])
Multiboard - Set the text for Multiboard item in column 2, row (TempInt - 1) to (String(Scores[1]))
Multiboard - Set the text for Multiboard item in column 2, row TempInt to (String(Scores[2]))
Collapse For each (Integer A) from 1 to 12, do (Actions)
Collapse Loop - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Player((Integer A))) slot status) Equal to Is playing
Collapse Then - Actions
Set TempReal[1] = (Real(ArrowsFired[(Integer A)]))
Set TempReal[2] = (Real(Kills[(Integer A)]))
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
TempReal[1] Greater than 0.00
Collapse Then - Actions
Set Accuracy[(Integer A)] = (TempReal[2] / TempReal[1])
Set Accuracy[(Integer A)] = (Accuracy[(Integer A)] x 100.00)
Multiboard - Set the text for Multiboard item in column 3, row WhatRow[(Integer A)] to ((String(Accuracy[(Integer A)], 1, 1)) + %)
Else - Actions
Multiboard - Set the text for Multiboard item in column 5, row WhatRow[(Integer A)] to (String(Deaths[(Integer A)]))
Multiboard - Set the text for Multiboard item in column 4, row WhatRow[(Integer A)] to (String(Kills[(Integer A)]))
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
SpreePlus[(Integer A)] Equal to True
Collapse Then - Actions
Multiboard - Set the color for Multiboard item in column 2, row WhatRow[(Integer A)] to (0.00%, 100.00%, 0.00%) with 0.00% transparency
Multiboard - Set the text for Multiboard item in column 2, row WhatRow[(Integer A)] to ((String(CurrentSpree[(Integer A)])) + K)
Collapse Else - Actions
Multiboard - Set the color for Multiboard item in column 2, row WhatRow[(Integer A)] to (100.00%, 0.00%, 0.00%) with 0.00% transparency
Multiboard - Set the text for Multiboard item in column 2, row WhatRow[(Integer A)] to ((String(CurrentSpree[(Integer A)])) + D)
Else - Actions
11-18-2006, 02:18 AM#2
[VDM]Amn
remove the condition
((Player((Integer A))) slot status) Equal to Is playing
and test how it works.