• 🏆 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!

Help plzz

Status
Not open for further replies.
Level 1
Joined
Sep 27, 2007
Messages
2
Hello

Plz help me....i need add AR mode to this map...thx
 

Attachments

  • Hero Line Wars HatoZILLA Style 2.51.w3x
    622.2 KB · Views: 69
Level 13
Joined
Jun 10, 2007
Messages
780
Level 1
Joined
Sep 27, 2007
Messages
2
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
 
Level 13
Joined
Jun 10, 2007
Messages
780
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.
 
Level 13
Joined
Jun 10, 2007
Messages
780
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.
Top