I want to show and hide multiboards multiple times. But once I hide one multiboard, I can't show it again. It looks like the function just stops working after first use.
Text message and audio are working every time.
I also tried without "GetLocalPlayer()" but it still won't work as intended.
Is it even possible to show/hide one multiboard multiple times? And if yes; what em I doing wrong?
edit:
-
Show Hide MB
-
Events
-
Player - Player 1 (Red) types a chat message containing ! as A substring
-
Player - Player 2 (Blue) types a chat message containing ! as A substring
-
Player - Player 3 (Teal) types a chat message containing ! as A substring
-
Player - Player 4 (Purple) types a chat message containing ! as A substring
-
Player - Player 5 (Yellow) types a chat message containing ! as A substring
-
Player - Player 6 (Orange) types a chat message containing ! as A substring
-
-
Conditions
-
Actions
-
For each (Integer loop_HumanPlayerA) from 1 to 6, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Triggering player) Equal to (Player(loop_HumanPlayerA))
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Substring((Entered chat string), 7, 8)) Equal to mb
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Substring((Entered chat string), 2, 6)) Equal to show
-
b_ViewsMBArmy[loop_HumanPlayerA] Equal to False
-
-
Then - Actions
-
Set b_ViewsMBArmy[loop_HumanPlayerA] = True
-
Custom script: if GetTriggerPlayer() == GetLocalPlayer() then
-
Game - Display to (All players) the text: test show
-
Multiboard - Show mb_Army
-
Multiboard - Maximize mb_Army
-
Sound - Play ItemReceived <gen> at 100.00% volume, skipping the first 0.00 seconds
-
Custom script: endif
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Substring((Entered chat string), 2, 6)) Equal to hide
-
b_ViewsMBArmy[loop_HumanPlayerA] Equal to True
-
-
Then - Actions
-
Set b_ViewsMBArmy[loop_HumanPlayerA] = False
-
Custom script: if GetTriggerPlayer() == GetLocalPlayer() then
-
Game - Display to (All players) the text: test hide
-
Multiboard - Hide all multiboards
-
Sound - Play ItemReceived <gen> at 100.00% volume, skipping the first 0.00 seconds
-
Custom script: endif
-
-
Else - Actions
-
-
-
Else - Actions
-
-
-
Else - Actions
-
-
-
-
-
I also tried without "GetLocalPlayer()" but it still won't work as intended.
Is it even possible to show/hide one multiboard multiple times? And if yes; what em I doing wrong?
edit:
-
Multiboard - Hide mb_Army
Attachments
Last edited: