• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Need maze help.

Status
Not open for further replies.
Level 28
Joined
Mar 25, 2008
Messages
2,955
umm should go like this:

  • Events: Player - Player x types -color as exact match
  • Conditions:
  • Actions: Pick every unit in (playable map area) owned by (Triggering Player) and do: Unit - Change color of (Picked unit) to Red/Blue/ etc..
if you want to edit towers' colors..

For Builders, it goes almost the same but therefore you have to change the "owned by (Triggering Player)" to "Units owned by (Triggering Player) of Type [here your builder]"
 
Level 23
Joined
Nov 29, 2006
Messages
2,482
Also does anyone know the -name trigger?

yes it looks like this:

  • Name Trigger
    • Events
      • Player - Player 1 (Red) types a chat message containing -name as A substring
      • ***Add all players you like, which also can execute the trigger***
    • Conditions
      • (Substring((Entered chat string), 1, 5)) Equal to -name
    • Actions
      • Player - Set name of (Triggering player) to (Substring((Entered chat string), 7, ((Length of (Entered chat string)) - 6)))
 
Level 29
Joined
Jul 29, 2007
Messages
5,174
That's not wild at all Squiggy -.-

  • blablabla
    • Events
      • Player - Player 1 (Red) types a chat message containing -wild as An exact match
      • Player - Player 2 (Blue) types a chat message containing -wild as An exact match
      • Player - Player 3 (Teal) types a chat message containing -wild as An exact match
      • Player - Player 4 (Purple) types a chat message containing -wild as An exact match
      • Player - Player 5 (Yellow) types a chat message containing -wild as An exact match
      • Player - Player 6 (Orange) types a chat message containing -wild as An exact match
    • Conditions
    • Actions
      • Custom script: set bj_wantDestroyGroup = true
      • Unit Group - Pick every unit in (Units owned by (Triggering player)) and do (Actions)
        • Loop - Actions
          • Animation - Change (Picked unit)'s vertex coloring to ((Random real number between 0.00 and 100.00)%, (Random real number between 0.00 and 100.00)%, (Random real number between 0.00 and 100.00)%) with 0.00% transparency
Oh and JustaLilBit3, next time you ask a question, please EXPLAIN WHAT YOU NEED, since not everybody knows whats -wild, -name, or any other thing.
 
Level 1
Joined
Apr 9, 2008
Messages
2
That's not wild at all Squiggy -.-

  • blablabla
    • Events
      • Player - Player 1 (Red) types a chat message containing -wild as An exact match
      • Player - Player 2 (Blue) types a chat message containing -wild as An exact match
      • Player - Player 3 (Teal) types a chat message containing -wild as An exact match
      • Player - Player 4 (Purple) types a chat message containing -wild as An exact match
      • Player - Player 5 (Yellow) types a chat message containing -wild as An exact match
      • Player - Player 6 (Orange) types a chat message containing -wild as An exact match
    • Conditions
    • Actions
      • Custom script: set bj_wantDestroyGroup = true
      • Unit Group - Pick every unit in (Units owned by (Triggering player)) and do (Actions)
        • Loop - Actions
          • Animation - Change (Picked unit)'s vertex coloring to ((Random real number between 0.00 and 100.00)%, (Random real number between 0.00 and 100.00)%, (Random real number between 0.00 and 100.00)%) with 0.00% transparency
Oh and JustaLilBit3, next time you ask a question, please EXPLAIN WHAT YOU NEED, since not everybody knows whats -wild, -name, or any other thing.


Sorry for not explaining i just assumed someone played mazes and knew that trigger. Thanks for the help.
 
Level 9
Joined
May 5, 2007
Messages
253
you could try

  • Event - Player - Player 1 (Red) types a chat message containing -red as An exact match
  • Action - Unit Group - Pick every unit in (Units owned by (Triggering player)) and do (Actions)
    • Loop - Actions
      • Unit - Change color of (Triggering unit) to Red
this is just an example you could do this to every color
 
Status
Not open for further replies.
Top