HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Auto wont cast

02-14-2005, 11:53 PM#1
Guest
Ok i made a unit based on the necromancer and changed the way he looks and made his spell turn on auto by its self. And here is what it does- I have it set so when it is lvl 5 he is mad and then he is given the order to move to a certain part in the map but when he gets there he just stands there. But i made a unit for my self and when i make it go were the computer one is. mine will just start casting away cuz i have zero cooldown. There is corpses and everything. I just dont understand why mine will cast and comp wont.
02-15-2005, 01:05 AM#2
ElvinArcher123
Melee-Run AI scripts ???
02-15-2005, 08:30 PM#3
ThyFlame
You have to base the spell off of one that is naturally autocasting. Did you do that?
02-15-2005, 11:22 PM#4
Guest
Yea its based off of raise the dead. And the unit is based off of the necromancer. When i make a unit for my self i can take it out right next to the comps unit mine starts raising the dead while the comps just sits there
02-16-2005, 12:26 AM#5
shadow1500
Quote:
Originally Posted by AciDTriP
Yea its based off of raise the dead. And the unit is based off of the necromancer. When i make a unit for my self i can take it out right next to the comps unit mine starts raising the dead while the comps just sits there
make sure the comp unit has enough mana, and has AI on.
02-16-2005, 12:40 AM#6
Guest
Well i tryied starting ai dont no if i did it right because all they did was attack me then walk away then come back and so on. I made a trigger for map iniz start ai for player 12(the computer) map.ai. if auto cast is on why doesnt it just auto cast when its close the the corpses? Also the spell doesnt use mana i want it to keep casting till ther isnt any corpse left and it has no cool down- is this the problem.
02-16-2005, 12:48 AM#7
shadow1500
make sure it says in Default active ability "Animate Dead" on the unit propertis
02-16-2005, 12:50 AM#8
Guest
Look evry thing work with my unit the same unit they have i dont have to do anything but bring it to the corpses. and its raise the dead not animate and it is set to active
02-16-2005, 01:41 AM#9
Guest
BAH! Just make a trigger to patch thinbgs up :)

Events-
Unit comes in range..or enter regions..or w/e
Actions-
Unit - Cast Ability <ability>

"Unit - Cast Ability <ability>" does that exist? I saw it before....

ANYWAYS I think it does try looking for that that should do it...
02-16-2005, 01:54 AM#10
Guest
Well if you can tell me where the trigger is to make a unt cast an ability i will do it.
02-16-2005, 01:56 AM#11
Guest
Ha...I've been looking for it myself for a while....I've seen it before! I'm 89.4376% Sure!
02-16-2005, 03:28 AM#12
BBDino
Unit Issue an Order with no target (raise dead)
02-16-2005, 06:19 PM#13
Guest
Ok i have this:
Spell
Events
Unit - A unit enters Center <gen>
Conditions
Actions
If (((Entering unit) is Undead) Equal to True) then do (Unit - Order (Entering unit) to Undead Necromancer - Raise Dead) else do (Do nothing)
But it still doesnt work. The unit comes to the spot and just attacks me
02-16-2005, 09:26 PM#14
ElvinArcher123
it doesnt even cast it once?...
02-16-2005, 09:36 PM#15
Guest
Nope. do i still need to run melee ai. i can put map up but you have to play through 5 lvls to get to the part.