HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Spell, Detect props.

07-13-2004, 02:58 AM#1
Psyny
Hail,
Someone know how i can:

1 - Detect the area of current spell ( like where blizzard is happening )

2 - When i activate a spell, an extra effect is addiced ( ex.: Immolation give movement speed or Storm Bold poisons )

3 - When someone cast the spell X, the target get under effect of spell X and automatic under effect of spell Y

4 - Detect if unit is under certain buff effect.

5 - Where i can find some finished new spells for study ? SO i will solve 75%+ of my problems.

thx
07-13-2004, 03:15 AM#2
CynicalYouth
1. target point of ability being cast

2. use dummy casters

3.also dummy casters

4. I think boolean comparison

5. the download section has some very nice spells for download.

I also suggest looking into Lord Vexorians Caster system, it solves problems 2 and 3 and does a bunch more, it also does it smoothly and without memory leaks.
07-16-2004, 07:11 PM#3
Psyny
hi again =)

I cant find a thing(function , condicional, etc) that detects if an ability is actived or deactived...

I still need help in:
a1 - Know when Immolation is Deactived
a2 - Detect if immolation is actived

thx.

Ps.: Ive downloaded the vexorian caster system... its really a good stuff to use and study.
07-17-2004, 02:43 AM#4
th15
You can't check if its being activated/deactivated. You have to store a boolean variable to check it. So your trigger would look like this
Code:
Event:
Unit begins casting a spell

Conditions
AND- 
    Ability being cast = immolation
    IsCastingImmolate = True

Actions:
Game display- You have stopped using immolation. You clown.