HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Detecting a unit casting a spell with conditions

01-11-2004, 11:33 PM#1
Oxalic
Ok i created a spell "Bone Armor" based off avatar it sets off a trigger that attaches bones to the caster. I just need to detect the caster casting the spell. Ok let me break it down:

Player Selects Unit Undead Girl
Undead Girl Casts "Bone Armor"
Now the trigger is set off

i just need to detect the unit casting the spell without having to select the unit (unit isn't on map and cant be placed there basically)

Also need another Trigger Bone off
"Bone Armor" (effect i guess? it's based off avatar) wears off
Delete Bones (Special attachments)

Just need to know how to detect that....
01-12-2004, 12:05 AM#2
Hunter0000
event-triggering unit.......
01-12-2004, 12:29 AM#3
Pesmerga
nope...

event - casting unit
01-12-2004, 10:38 PM#4
Oxalic
What about my "bone off" triggering mentioned above?
01-12-2004, 11:08 PM#5
Pesmerga
just start a timer when the ability is activated and set it to however long the bonearmor lasts
01-12-2004, 11:54 PM#6
Hunter0000
Quote:
Originally posted by Pesmerga
nope...

event - casting unit


Dude, it will return the same ****ing thing, and being that triggering unit is the default selection, its a hell of a lot easier. Triggering unit works for 80-90% of defines based on event, with the execptions being attacking unit, and target of casted spell.
01-13-2004, 01:19 AM#7
Oxalic
My bone armor just gives +armor and +magical defense... not D2 style i know what you are talking about, but i prefer my style.... How would i set this up now?
01-15-2004, 12:46 AM#8
Oxalic
OK i definately need more help i need someone to set up 2 triggers World editor style

Event

Condition

Action

and they must be REAL things i can select

i need the turn on and turn off effects....
01-18-2004, 04:27 PM#9
Oxalic
any1?