• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Ability can´t level up via a trigger

Status
Not open for further replies.
Level 1
Joined
Sep 3, 2007
Messages
7
Hi, I´ve got a problem, probably a dumb one, and I´m in need of help. Look at the following trigger, please. When I try to enable it (or save map), it gives me an error message. In theory, it´s damn simple trigger, but it just doesn´t work. I use classical FT 1.21 (will update soon).

What the trigger should do: I´ve created an ability, Aura of Terror, that slows movespeed of enemies, based on tornado slow aura (whose icon won´t show). So I´ve made a dumb ability that will appear to be the aura´s icon. Sadly, Word Editor won´t let me do it...

Events
Unit - A unit Learns a skill
Conditions
(Learned Hero Skill) Equal to Aura of Terror
Actions
Unit - Set level of Aura of Terror - dump for (Learning Hero) to (Learned skill level)


And I need to know another thing... What is maximum acceptable map size? I mean, I´ve done a multiplayer map, I´ve worked on it for about a year. The bad thing is, it has 3.5 MGb and even Map optimizer doesn´t help much. The size is either because of many imported icons (about 25) or (more likely) because of huge number of custom units (145) and custom abilities (186).

Thanks in advance :)
 
Level 6
Joined
Jul 22, 2008
Messages
243
Ok, first off if you use the Set level of ability trigger, the unit must already have the ability... so first thing is to add the ability to the unit before level it up...
And maximum size on map is 4 mb.
 
Level 6
Joined
Aug 13, 2008
Messages
197
And I need to know another thing... What is maximum acceptable map size? I mean, I´ve done a multiplayer map, I´ve worked on it for about a year. The bad thing is, it has 3.5 MGb and even Map optimizer doesn´t help much. The size is either because of many imported icons (about 25) or (more likely) because of huge number of custom units (145) and custom abilities (186).
Max file size for hosting on b-net is 4mb but if it just 1 player game it can be 10mb
 
Level 1
Joined
Sep 3, 2007
Messages
7
Ok, first off if you use the Set level of ability trigger, the unit must already have the ability... so first thing is to add the ability to the unit before level it up...

I have a trigger that adds the dumb ability, which just works fine. The problem is that the ability can´t level.
Thanks for replies anyway :)
 
Status
Not open for further replies.
Top