[Solved] Game - Text Message Won't Work

Level 16
Joined
Mar 27, 2011
Messages
1,350
Hello. In my game I a trigger which runs when a wave ends, ie "Round Complete".

  • Next Round
    • Events
      • Player - Player 12 (Brown)'s Food used becomes Less than 1.00
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Pointer + 1) Greater than x
        • Then - Actions
          • Trigger - Run Victory <gen> (checking conditions)
        • Else - Actions
          • Set Pointer = (Pointer + 1)
          • Sound - Play GoodJob <gen>
          • Game - Display to (All players) for 15.00 seconds the text: Round Complete
          • Set Players2 = (All allies of Player 1 (Red))
          • Player Group - Pick every player in Players2 and do (Actions)
            • Loop - Actions
              • Player - Add 750 to (Picked player) Current gold
          • Custom script: call DestroyForce (udg_Players2)
          • Wait 12.00 seconds
          • Trigger - Run Spawn Units <gen> (checking conditions)
          • Trigger - Run Blademaster <gen> (checking conditions)
          • Trigger - Run Lich <gen> (checking conditions)
          • Trigger - Run Demon Hunter <gen> (checking conditions)
However, the message "Round Complete" does not display at all. I even created a test trigger;

  • test
    • Events
      • Time - Elapsed game time is 3.00 seconds
    • Conditions
    • Actions
      • Game - Display to (All players) the text: It worked!
      • Game - Display to (All players) for 30.00 seconds the text: It Worked!
      • Quest - Display to (All players) the Quest Completed message: It Worked!
This did not display a message at all. I tried each action seperately and together. I don't think I have any conflicting triggers, or gameplay constants. Whats strange is that this trigger does display a message.
  • Earth Description
    • Events
      • Unit - A unit enters Earth Description <gen>
    • Conditions
      • (Unit-type of (Entering unit)) Equal to Peasant
    • Actions
      • Quest - Display to (All players matching ((Matching player) Equal to (Owner of (Entering unit)))) the Hint message: ...
Can anybody guess why this isn't working for me? Any help is appreciated.
 
Level 16
Joined
Mar 27, 2011
Messages
1,350
Have you destroyed the All players force?

If you mean using the custom script after setting each player group variable, then yes. I noticed if I display a message at map initilization, it works. I also noticed that this works;

  • test 2
    • Events
      • Time - Elapsed game time is 3.00 seconds
    • Conditions
    • Actions
      • Game - Display to (All players matching ((Matching player) Equal to Player 1 (Red))) for 30.00 seconds the text: It Worked!
I've uploaded the map if anyone could take a look.
 

Attachments

  • Mini Gunners Ultimate.w3x
    71.5 KB · Views: 28
Top