HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

help! hero starting level

05-10-2006, 06:10 AM#1
devilsaur
Hello
i have been working on a map recently
it's a dragon dungeon, i have a revival system
and it works fine, the player also has the ability
to build new heros. now heres the problem
i need to set the starting level for heros built to be 18
instead of level 1
any ideas?
05-10-2006, 06:22 AM#2
Mystic Prophet
you could simply make it so that whenever a hero is built a trigger levels them up to 18.

for heroes all ready on the map you can use the gameplay constants.
05-10-2006, 06:53 AM#3
devilsaur
i think when a hero is being built
hes not already there, so you cant level him yet
i tried it and had no luck so far
as for heroes already there i have no problem with them
their level is already set
just the new heros
05-10-2006, 07:18 AM#4
kaldoreielf
Trigger:
Hero Level Trigger
Collapse Events
Unit - A unit Finishes reviving
Conditions
Collapse Actions
Hero - Set (Reviving Hero) Hero-level to 18, Hide level-up graphics


That's all you need.
05-10-2006, 07:39 AM#5
devilsaur
but the hero is not reviving,...its a new unit
anyway il give it a shot it might work
thanks
05-10-2006, 07:43 AM#6
kaldoreielf
Let me get this straight so I can help you out, you want too summon a new hero, and when its summoned, it goes to level 18? If so, thats the trigger you need.
If not, please explain it better, and try not too press enter inbetween your sentences, its really getting too me! lol
05-10-2006, 07:50 AM#7
devilsaur
yep your right, i want to summon a new hero and it goes to level 18
i havent tried it yet because im at work right now, so thanks alot for
your help i think this will work and sorry for the enters hehe
05-10-2006, 07:52 AM#8
kaldoreielf
lol, its alright, but yeah im pretty sure it will work, just post here if there are any bugs. If you want you can give me rep for helping you! lol jkz
05-10-2006, 04:09 PM#9
Captain Griffen
[trigger] Hero Level Trigger
Events
Unit - A unit Finishes training

Conditions
Boolean - Unit is a Hero is Equal to True

Actions
Hero - Set (triggering unit) Hero-level to 18, Hide level-up graphics[/quote]
05-11-2006, 02:49 AM#10
kaldoreielf
Griffen, my trigger does exactly the same...
05-11-2006, 12:50 PM#11
aquilla
No it does not, yours triggers when a hero is revived. Btw, if you're using the tavern-style hero recruit, use the Unit sells a unit event