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

have a problem with a normal spell command aura

Status
Not open for further replies.
Level 15
Joined
Aug 14, 2007
Messages
936
Remove melee script for your map

Alternatively, If you are keeping as melee i will suggest that u keep only the victory conditions and the remove neutral units for starting point.

For hero limit, use trigger set hero limit to 1.

If you want the chosen hero to not be able to be chosen by other players, simply, use trigger in the Player: make unit type unavaliable for the other players

I hope this helps
 
Level 19
Joined
Feb 15, 2008
Messages
2,184
i mean its not working that way u mean.
like this.

im training Legolas. then the hero should be reomve so u cant do 10 legolas for exmaple. so u only can buy 1 legolas for that player how i do this ?
And can u show the trigger in trigger tags for me? rep will be given m8 if u fix this....

here is the trigger man....

  • Untitled Trigger 004
    • Events
      • Unit - A unit Begins training a unit
    • Conditions
      • (Unit-type of (Trained unit)) Equal to Legolas )LotR)
    • Actions
      • Player Group - Pick every player in (All players) and do (Player - Limit training of Legolas )LotR) to 1 for (Picked player))
and i also tryed to do this trigger...

Command Aura
  • Events
  • Unit - A unit Gains a level
  • Conditions
  • (Hero level of (Learning Hero)) Equal to 5
  • (Unit-type of (Leveling Hero)) Equal to Paladin
  • Actions
  • Unit - Add Command Aura to (Leveling Hero)
and when i do this trigger im stuck at (Unit-type of (Leveling Hero)) Equal to Paladin howi do that one?
 
Level 14
Joined
Jul 1, 2008
Messages
1,314
dude as i already said in the PM. Are you making fun of people, who try to help you?

Did you even read, what UreDe4D and me posted? I mean, no offense dude, but i posted trigger tags, and there you can see the function you want.

It says what it does, it limits training. Just try it.

Unit Type of XXX can be found at Unit Type Comparisson,
i guess you even dont try, what is posted here. Search it, only like this you are able to learn it!

This sounds hard, but it isnt meant to be mean, its the truth.

Greets
 
Level 19
Joined
Feb 15, 2008
Messages
2,184
wtf!
dude im not pro at this....
but can u show me the whole trigger good damn it.

shall i just make the trigger look like this?

2 stuff

  • Player - Limit training of Legolas to 1 for Player 1 (Red)
  • Player - Limit training of Heroes to 5 for Player 1 (Red)
ok so no event is needed? condition either ok fine hope it works
 
Level 19
Joined
Feb 15, 2008
Messages
2,184
yes but shall it be for picked player because its mui. or i will need to make 200 of those stuff....
and thnx for saying it should be in map initialization.. rep++ so like this u mean..

  • Melee Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Melee Game - Use melee time of day (for all players)
      • Melee Game - Set starting resources (for all players)
      • Melee Game - Create starting units (for all players)
      • Melee Game - Run melee AI scripts (for computer players)
      • Melee Game - Enforce victory/defeat conditions (for all players)
      • Player - Limit training of Legolas )LotR) to 1 for (Picked player)
      • Player - Limit training of Heroes to 6 for (Picked player)
 
Level 19
Joined
Feb 15, 2008
Messages
2,184
like this

  • Melee Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Melee Game - Use melee time of day (for all players)
          • Melee Game - Set starting resources (for all players)
          • Melee Game - Create starting units (for all players)
          • Melee Game - Run melee AI scripts (for computer players)
          • Melee Game - Enforce victory/defeat conditions (for all players)
          • Player - Limit training of Legolas )LotR) to 1 for (Picked player)
          • Player - Limit training of Heroes to 6 for (Picked player)
 
Level 23
Joined
Oct 18, 2008
Messages
938
like this

  • Melee Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Melee Game - Use melee time of day (for all players)
          • Melee Game - Set starting resources (for all players)
          • Melee Game - Create starting units (for all players)
          • Melee Game - Run melee AI scripts (for computer players)
          • Melee Game - Enforce victory/defeat conditions (for all players)
          • Player - Limit training of Legolas )LotR) to 1 for (Picked player)
          • Player - Limit training of Heroes to 6 for (Picked player)

yeah except move the melee game - blah blah actions over the picking thing. also u might want to delete stuff like create starting units and victory/defeat conditions.
 
Level 19
Joined
Feb 15, 2008
Messages
2,184
na i want this to be like this... its a meelee map btw do u have msn m8 u soundsh elpful and thnx very much.

and btw do u know how to change so when u buy a hero so the first 1 not is free. so if i set legolas cost 5000. so he cost that at start :p
 
Level 3
Joined
Sep 18, 2008
Messages
25
Hi~~ Maybe i can tell you... Like this, check the level requirement for that ability... It must be about 4 or 5... Also remember if the spell used in your hero is the spell that you have edited it!!!


Command Aura
  • Events
  • Unit - A unit Gains a level
  • Conditions
  • (Hero level of (Learning Hero)) Equal to 5
  • (Unit-type of (Leveling Hero)) Equal to Paladin
  • Actions
  • Unit - Add Command Aura to (Leveling Hero)
and when i do this trigger i' m stuck at (Unit-type of (Leveling Hero)) Equal to Paladin how do that one?
Ok... About your problem here, New Condition, Integer Comparison, Unit-Type of Leveling hero(find it), EQUAL TO, 5... Simple actually... Well... Ask me questions if you need me then... I can't do all... But i will tell you what i knew :wink:
 
Status
Not open for further replies.
Top