Warcraft III resources & community, 2003–2006 · archived

How do I make hosile computers cast certain spells?

3 posts
#1

How do I make hosile computers cast certain spells?

Ok well I'm trying to do this cutscene in my Super dbz all sagas map and I want the enemy to cast this spell on the player in the cutscene but I dont know how I make him do it. Can anyone help me?
#2
try something like


Unit - Order Gelidus The Cold Foci 0030 <gen> to Night Elf Demon Hunter - Mana Burn Melth the Leviathan of Kal'Nar 0062 <gen>


(its unit - issue order targeting a unit)
of course your spell isnt exactly manaburn. but spells are usually just modified default spells (e.g. make negative regeneration for unholy aura and make it target only enemies). therefore u have to select the basespell which is used as basement for ur customspell. if u dont know the basespell (maybe its an imported spell?) just copy the name of the spell, set it to default, read its original name and paste the custom name again.
remember, some spells dont target units. u have to pick another "unit - issue order" in case its based on death&decay etc.
#3
Ahhh I see so if the base spell of the custom is Stormbolt I make the action that the unit will make it cast storm bolt on the target so it will cast the custom spell right? Man thats so easy :oops: lol thanks man!