HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Adding skills with triggers:

10-26-2003, 01:04 AM#1
Gurrgel
Is there something special you need to do, since it just doesn't work for me, do I need to use JASS or something like that?
10-26-2003, 01:09 AM#2
Hunter0000
A couple of things

1) is a hero or unit skill, as hero skills can't be added via trigger(or even JASS if I remember correctly)

2) does the unit in question allready have 5 skills, as that is the max.

otherwise, as long as ists a unit skill do

Unit - Give xUnit "your skill here"

simple as that!
10-26-2003, 01:24 AM#3
Gurrgel
None of the things you mentioned are the problems, its non-hero skills and no units in the map im making has more than 4 skills I think, but somehow it dont seems to work.
10-26-2003, 01:31 AM#4
Hunter0000
hmmm, post your trigger, or a map with the trigger unit and abillity in it, so we can take a closer look.
10-26-2003, 07:00 AM#5
HyperNox
try making 2 heroes woth the new or changes in skills replacing one with the other. I don't know if this is the only way but I cant figure any other...

try this thread
10-26-2003, 07:04 AM#6
StRoNgFoE_2000
Quote:
Originally posted by Hunter0000
A couple of things

1) is a hero or unit skill, as hero skills can't be added via trigger(or even JASS if I remember correctly)

2) does the unit in question allready have 5 skills, as that is the max.

otherwise, as long as ists a unit skill do

Unit - Give xUnit "your skill here"

simple as that!


dont forget, 5 is the max for hero skills, not skills entirely. in my map, each hero has 6 skills, 5 hero and 1 normal. plus, you can have a skills that can remain "hidden" as long as they don't take a space in your buttons, such as phenoix fire
10-26-2003, 07:46 AM#7
Grater
Actually you can add any type of skill via trigger, it's just that a hero skill added via trigger works exactly the same as that skill converted to a unit ability (ie it's level1 only, no option to learn it). With custom upgrades you can change the level of "hero" skills added to units/heroes via trigger.