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

Noob questionS

Status
Not open for further replies.
Level 22
Joined
Nov 20, 2005
Messages
1,221
Yeah, i should not post them, but i need to hurry or i won't go on with the proj. I need a trigger that notices when a SPECIFIC TYPE of mage-unit reach his maximum of mana-points, so that i can tell him to cast a specific spell(by the way: can i tell units to cast specific spells? i think so).

Next: the Dead Raising spell used by AI's necromancers does not work. I've tried to activate it by trig but nothing. Besides, i also tried to increase the range size of the spell, so that the necro may cast the spell remaining safe from accidentally attacking troops, but still nothing!

How do i do to fix all of this stuff? Let me know, thx.
 
Level 29
Joined
Jul 29, 2007
Messages
5,174
1. Pick all units of that type and make a If/Then/Else which will check if the unit has its max mana, then order to cast.

And you can order to cast some spells with the "Order unit to" (point/unit/no target).

Just pick up one of the spells there, and change your own ability's order ID (called Order String or something like that) to the spell you orderd to cast in the trigger.


2. Dunno about AI a bit lol.
 
Level 3
Joined
Mar 24, 2007
Messages
51
2 - is it AI problem or is it spell problem? if it's spell problem then post ur spell here
 
Level 22
Joined
Nov 20, 2005
Messages
1,221
The spell is simply the basic Raise Dead from Undead Necromancer. I've told to the mage unit to "AI Recycle unit's guard position" so that when he notices of any corpse around him, he walks a bit to reach his spell range, cast, and then automatically get back to the Recycle guard point. The problem is that, either if i "Undead - Necromancer - activate Raise Dead" or i set Raise Dead range up to 2000, the mage won't cast. :((
The Order string of the spell was already "Raisedeadon" & "Raisedeadoff" (auto-casting).

However i'll try to fixe the mana-limit problem, according to what Ghostwolf said.

EDIT: it works. Now, help me with that strange auto-casting bug.
 
Last edited:
Status
Not open for further replies.
Top