SphereCommunity
Spells and Targon_Char? - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Spells and Targon_Char? (/Thread-Spells-and-Targon-Char)



Spells and Targon_Char? - admin phoenix - 08-31-2012 03:41 PM

is there a chance to stop the spell when you have target a char/npc before success and effect is triggered?
@select and @start ist before you target the object.
I need a trigger like @targon_char/item in the spell Smile
if not it will be a nice feature to stop the anim/sound/hardcoded thinks before the effect/success trigger is started.

Thanks....

gr

phoenix


RE: Spells and Targon_Char? - WRWR - 09-01-2012 10:15 AM

maybe just remove spellflag_targ_char?


RE: Spells and Targon_Char? - Shaklaban - 09-01-2012 11:08 AM

(08-31-2012 03:41 PM)admin phoenix Wrote:  is there a chance to stop the spell when you have target a char/npc before success and effect is triggered?
@select and @start ist before you target the object.
I need a trigger like @targon_char/item in the spell Smile
if not it will be a nice feature to stop the anim/sound/hardcoded thinks before the effect/success trigger is started.

Thanks....

gr

phoenix

do you use precast? if not you can look for act in spellcast like:

on=@spellcast
serv.log im start to casting <serv.spell.<argn1>.name> on <act.name>