Trigger for after resurrected ? - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: Trigger for after resurrected ? (/Thread-Trigger-for-after-resurrected) |
Trigger for after resurrected ? - Avatar - 03-22-2013 08:57 AM Hi , I just want to know about trigger which functions after player is resurrected like @resurrect or something ? I really tried for @resurrect but it has no function i guess maybe it does not even exist as trigger in sphere server ? If someone tell me how to function after resurrection, it will be better for me cus i have some stuff to deal with once player are just resurrected . RE: Trigger for after resurrected ? - darksun84 - 03-22-2013 09:22 AM Resurrection,both by command(.resurrect) and spell, fires the @effect trigger of the Resurrection spell, so i think it should trigger even @spelleffect in the character.(i think that @spelleffect is fired before @effect) RE: Trigger for after resurrected ? - Mordaunt - 03-22-2013 09:41 AM Make your own and add it to the spell... <target, src whatever> TRIGGER @resurrect Then [events resurrect] ON=@resurrect yadda yadda Or alternatively attach a function to the spell that fires upon the resurrectee RE: Trigger for after resurrected ? - Avatar - 03-22-2013 12:13 PM I'll try that anyway but darksun84 i just did what you said but it did not work and do not know the reason. Even i tried with both spellefect and effect, once the death body was resurrected, spelleffect did not work. on=@spellefect if <argn> == 59 / which is resurrection spell and once someone is resurrected, the spell did not get cast. I dunno but the thing that mordaunt just said is gonna be working i guess. It seems so. RE: Trigger for after resurrected ? - Staff_Stanic - 03-23-2013 07:05 AM Code: [EVENTS e_xxxx] // event working on(in?) what you want to do this function RE: Trigger for after resurrected ? - Mordaunt - 03-23-2013 07:11 AM <argn> == <argn1> <argn1> == <argn> Just sayin... RE: Trigger for after resurrected ? - Staff_Stanic - 03-23-2013 07:19 AM (03-23-2013 07:11 AM)Mordaunt Wrote: <argn> == <argn1>ok... my fault |