• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Help plzz

Status
Not open for further replies.
My english no good for reading tutorials...

Me just need smb who add All Random mode ti this map...and need choose -AP or -AR

If you can help me....do it....if no leave this thread....i be waiting who can...

Thx
 
I will make it easier to understand. Make a variable and make its type Unit-type. Make it array size 1 and give it any name. Next make a trigger like this
  • Random Hero
    • Events
      • Map initialization
    • Conditions
    • Actions
      • -------- Random Hero Array --------
      • Set Randomhero[1] = Revenant
      • Set NumberofHeroes = 1
The revenant is a random hero that can be picked. Next make a trigger like this-
  • Random Select
    • Events
      • Player - Player 1 (Red) types a chat message containing -Random as An exact match
      • Player - Player 2 (Blue) types a chat message containing -Random as An exact match
      • Player - Player 3 (Teal) types a chat message containing -Random as An exact match
      • Player - Player 4 (Purple) types a chat message containing -Random as An exact match
      • Player - Player 5 (Yellow) types a chat message containing -Random as An exact match
      • Player - Player 6 (Orange) types a chat message containing -Random as An exact match
      • Player - Player 7 (Green) types a chat message containing -Random as An exact match
      • Player - Player 8 (Pink) types a chat message containing -Random as An exact match
      • Player - Player 9 (Gray) types a chat message containing -Random as An exact match
      • Player - Player 10 (Light Blue) types a chat message containing -Random as An exact match
    • Conditions
      • ((Triggering player) Food used) Greater than or equal to 1
    • Actions
      • If (((Triggering player) Food used) Equal to 1) then do (Unit - Create 1 Randomhero[(Random integer number between 1 and NumberofHeroes)] for (Triggering player) at (Center of Item Region <gen>) facing Default building facing degrees) else do (Do nothing)
      • Player - Set (Triggering player) Current gold to 100
      • Player - Set (Triggering player) Current lumber to 0
      • Camera - Pan camera for (Triggering player) to (Center of Item Region <gen>) over 1.00 seconds
Notice I used this from my arena map so change the other actions to w/e you want.
 
Did not use we for this

  • Events:Player 1 types -ar as an exact match
  • Actions:
  • PlayerGroup: Pick every player in all players and do actions
  • If (((Picked player) Food used) Equal to 1) then do (Unit - Create 1 Randomhero[(Random integer number between 1 and NumberofHeroes)] for (Picked player) at (Center of Item Region <gen>) facing Default building facing degrees) else do (Do nothing)
I think thats how you do it.
 
Status
Not open for further replies.
Back
Top