• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

[Trigger] Game message problem

Status
Not open for further replies.
Level 7
Joined
May 18, 2010
Messages
264
  • Item to Spell
    • Events
      • Unit - A unit Acquires an item
    • Conditions
    • Actions
      • Set Players[10] = (Owner of (Triggering unit))
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Item-type of (Item being manipulated)) Equal to (==) Learn Spirit Wolf
          • Then - Actions
            • Item - Remove (Item being manipulated)
              • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Level of Feral Spirit for (Triggering unit)) Equal to (==) 10
                • Then - Actions
                  • Game - Display to (All players) the text: my text
                • Else - Actions
                  • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (Level of Feral Spirit for (Triggering unit)) Greater than (>) 0
                    • Then - Actions
                      • Unit - Increase level of Feral Spirit for (Hero manipulating item)
                    • Else - Actions
                      • Unit - Add Feral Spirit to (Hero manipulating item)
          • Else - Actions
""game - Display to (All players) the text: my text""
i wana display it to (Player[10] or just Owner of Triggering unit)
but i cant figure out how :( help
 
Level 7
Joined
May 18, 2010
Messages
264
  • Game - Display to (Player group(Players[10]))) the text: blah blah
Something along those lanes,
Just writing it out of my headd.... Hope this helps mate.

  • Item to Spell
    • Events
      • Unit - A unit Acquires an item
    • Conditions
    • Actions
      • Set Players[10] = (Owner of (Triggering unit))
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Item-type of (Item being manipulated)) Equal to (==) Learn |cff6495edSpirit Wolf|r
          • Then - Actions
            • Item - Remove (Item being manipulated)
              • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Level of |cff6495edSpirit Wolf|r for (Triggering unit)) Equal to (==) 10
                • Then - Actions
                  • Game - Display to (Player group(Players[10])) the text: (Cannot level up + ((String((Level of |cff6495edSpirit Wolf|r for (Triggering unit)))) + Feral Spirit is at max level))
                • Else - Actions
                  • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (Level of |cff6495edSpirit Wolf|r for (Triggering unit)) Greater than (>) 0
                    • Then - Actions
                      • Unit - Increase level of |cff6495edSpirit Wolf|r for (Hero manipulating item)
                      • Game - Display to (Player group(Players[10])) the text: (Upgraded to + ( |cff6495edSpirit Wolf|r + (String((Level of |cff6495edSpirit Wolf|r for (Triggering unit))))))
                    • Else - Actions
                      • Unit - Add |cff6495edSpirit Wolf|r to (Hero manipulating item)
                      • Game - Display to (Player group(Players[10])) the text: (Level of + ( |cff6495edSpirit Wolf|r + (String((Level of |cff6495edSpirit Wolf|r for (Triggering unit))))))
          • Else - Actions

Yes Thank you
(u earned a place of Thanks people in/on my map thx)
 
  • Item to Spell
    • Events
      • Unit - A unit Acquires an item
    • Conditions
    • Actions
      • Set Players[10] = (Owner of (Triggering unit))
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Item-type of (Item being manipulated)) Equal to (==) Learn |cff6495edSpirit Wolf|r
          • Then - Actions
            • Item - Remove (Item being manipulated)
              • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Level of |cff6495edSpirit Wolf|r for (Triggering unit)) Equal to (==) 10
                • Then - Actions
                  • Game - Display to (Player group(Players[10])) the text: (Cannot level up + ((String((Level of |cff6495edSpirit Wolf|r for (Triggering unit)))) + Feral Spirit is at max level))
                • Else - Actions
                  • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (Level of |cff6495edSpirit Wolf|r for (Triggering unit)) Greater than (>) 0
                    • Then - Actions
                      • Unit - Increase level of |cff6495edSpirit Wolf|r for (Hero manipulating item)
                      • Game - Display to (Player group(Players[10])) the text: (Upgraded to + ( |cff6495edSpirit Wolf|r + (String((Level of |cff6495edSpirit Wolf|r for (Triggering unit))))))
                    • Else - Actions
                      • Unit - Add |cff6495edSpirit Wolf|r to (Hero manipulating item)
                      • Game - Display to (Player group(Players[10])) the text: (Level of + ( |cff6495edSpirit Wolf|r + (String((Level of |cff6495edSpirit Wolf|r for (Triggering unit))))))
          • Else - Actions

Yes Thank you
(u earned a place of Thanks people in/on my map thx)

Its okay, Im always here to help.
And thankyou for the +rep
 
Status
Not open for further replies.
Top