summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/Misc.c4d
diff options
context:
space:
mode:
Diffstat (limited to 'TemplePushing.c4s/Misc.c4d')
-rw-r--r--TemplePushing.c4s/Misc.c4d/SetupMenu.c4d/Script.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/TemplePushing.c4s/Misc.c4d/SetupMenu.c4d/Script.c b/TemplePushing.c4s/Misc.c4d/SetupMenu.c4d/Script.c
index 33d2134..ea902f8 100644
--- a/TemplePushing.c4s/Misc.c4d/SetupMenu.c4d/Script.c
+++ b/TemplePushing.c4s/Misc.c4d/SetupMenu.c4d/Script.c
@@ -200,7 +200,15 @@ private func KeepMenuOpen()
if (clonk && !clonk->GetMenu()) ShowSetup();
}
-private func ShowMessage() { CustomMessage(Format("@%s", GetMessage()), this, NO_OWNER, 0, 0, 0, 0, 0, MSG_NoLinebreak); }
+private func ShowMessage()
+{
+ CustomMessage(Format("@%s", GetMessage()), this, setupPlayer, -LandscapeWidth()/5, 0, 0, 0, 0, MSG_NoLinebreak);
+ for (var i = 0; i < GetPlayerCount(); ++i)
+ {
+ if (GetPlayerByIndex(i) == setupPlayer) continue;
+ CustomMessage(Format("@%s", GetMessage()), this, GetPlayerByIndex(i), 0, 0, 0, 0, 0, MSG_NoLinebreak | MSG_Multiple);
+ }
+}
private func GetMessage()
{