• 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.

A couple of questions regarding spell books and other stuff

Status
Not open for further replies.
Level 6
Joined
Jun 14, 2008
Messages
176
Edit - I have a few new questions to add:

1. Is there a way to change Stampede's "unit death" effect? It's the Art - Special one and when a missile summoned by Stampede is destroyed, blood with spurt out.

I can't seem to change this at all, I tried replacing the "Art - Special"(which uses the blood spurting model), with something else, it didn't change.

I tried changing all the art fields to something else, the stampede still has the "blood spurt" model which happens when a missile is destroyed.

Is there any way to change this somehow?

2. Is there a way to add "Locust" ability to units via triggers? Locust doesn't show up in the list(in GUI that is, haven't tried adding it manually in JASS but I'll try later).

1. Can abilities inside spell books be "leveled up" through triggers WITHOUT leveling up the spellbook itself?

I know you can level up the spell book, but spell books store only level 1 version of the abilities, so you'd have to resort to using multiple copies of the same abilities(which can be tedious) if you want to "level up" abilities in spell books.

So, can you level up abilities inside spell books WITHOUT resorting to using multiple copies of the same abilities(that is, without leveling up the spell book itself).


2. Can illusions/images be given "active" abilities through triggers and use them?


3. Can you re "coordinate" an ability's icon slot by triggers?

The "icon position" I mean, for example, say an Icon is "X: 0" and "Y: 0". Could I change the icon position to "X: 2" and "Y: 2" through triggers?

I'm just wondering because I have a spell steal ability in my map which steals an ability.

Whenever the ability is stolen, it'll retain it's icon position of the original stolen ability. I don't want it to work like that because it might move existing ability icons to different positions(due to the fact a new spell is added).

In DotA, there was also a Spell Steal type ability but when it stole spells, it always set the ability of the stolen spell to "X: 2" and "Y: 2", regardless of what the actual position of original spell is.

So, can you change the position of icons through trigger or something like that?

4. Does ordering a unit to use an ability on cool down crash the game? Speaking of that, is there a list of what can cause the map to crash? I know things like turning on a trigger already on can cause the game to crash but what else?


Any help is apperciated, thanks.
 
Last edited:
Level 11
Joined
Feb 22, 2006
Messages
752
1. Yes, just use UnitSetAbilityLevel() - in GUI I think its Set Level of Ability for Unit or something - on the ability you want to level up

2. No idea, but that's really easy to test

3. No way to do it that I know of

4. I've never tried this but I'm pretty sure it will just do nothing (using triggers to give orders does the exact same thing as if a human player was giving orders, and when a player tries to use an ability that's cooling down the game doesn't crash)
 
Level 6
Joined
Jun 14, 2008
Messages
176
Thanks for the help. I have two new questions(it's the new 2 questions in the first post) and I'm also still wondering if there is a way to change the position of art - icons (third question in my first post).

I think DotA's (old) Morphling did it(or something like it). It had the spell shield ability, whenever it stole a spell, it always appeared in "X: 2" "Y:2" position, it never appeared anywhere else or "moved" any icons.

My hero in my map also has spell steal, but when an ability is stolen, it might sometime move the icons of the hero's existing abilities somewhere else because it'll take that place.
 
Status
Not open for further replies.
Top