HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Enable all heroes

12-29-2005, 05:34 PM#1
Dacystorm
I have created a map, but i want to enable all 4 heroes for all races.

Can somebody tell me how?

Warcraft 3 - Frozen throne is the game of course.
12-29-2005, 06:07 PM#2
Blade.dk
Just add all Heroes to the alters.
12-29-2005, 06:20 PM#3
Tim.
Quote:
Originally Posted by Blade.dk
Just add all Heroes to the taverns.

Altars.
12-29-2005, 06:23 PM#4
Blade.dk
Quote:
Originally Posted by Tim.
Alters.

Yes, sorry. Thanks for correcting me, I've edited the original post .
12-29-2005, 07:28 PM#5
Xeth-Ban
well im not sure that was the question actualy, i think he meant how to be able to train all 4 heroes within that race, as you normaly only can get 3.
but i, not good at explaining though
12-29-2005, 07:34 PM#6
Blade.dk
I think you're right. My fault, sorry (this thread must be cursed.)

Änyways, it is simple, just do it with a trigger like this:

Trigger:
Hero Limits
Collapse Events
Map initialization
Conditions
Collapse Actions
Collapse For each (Integer A) from 1 to 12, do (Actions)
Collapse Loop - Actions
Player - Limit training of Heroes to 4 for (Player((Integer A)))
12-29-2005, 08:03 PM#7
Xeth-Ban
well maybe you could actualy open the events and actions so he can see :p
12-29-2005, 08:04 PM#8
Blade.dk
Try to click on "[Expand All]" and see what happens.
12-29-2005, 08:08 PM#9
Xeth-Ban
ahh didnt notice expand all, i never knew that this was even possible before now
12-29-2005, 08:09 PM#10
Zoxc
Haha.... don't make jokes about the my nice trigger tags ^^
12-29-2005, 08:14 PM#11
Xeth-Ban
how do you actualy do this trigger stuff in a post?
12-29-2005, 08:20 PM#12
Blade.dk
http://www.wc3campaigns.net/showthread.php?t=78403

It's described there.

Just use the copy as text function in the World Editor, and insert the text into two [trigger] tags.
12-29-2005, 08:26 PM#13
Xeth-Ban
ok, the [trigger] tag should be including in the reply writing thingy
12-29-2005, 08:51 PM#14
Dacystorm
Hi, and thanx for the answers.

I did the trigger, but i couldn't get it working.

Here's the trigger:

For each (Integer A) from 1 to 12, do (Actions)
Loop - Actions
Player - Limit training of Heroes to 4 for Player 1 (Red)

is there something wrong with it? (i'm player 1 (red) always.
12-29-2005, 08:54 PM#15
Blade.dk
If you only want it to affect player one, don't use a loop.

Are you sure that the trigger is called? Because if it are it should work.