The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trigger for after resurrected ?
Author Message
Avatar
Journeyman
*

Posts: 172
Likes Given: 6
Likes Received: 27 in 12 posts
Joined: Apr 2012
Reputation: 5

The North Shield

Post: #1
Trigger for after resurrected ?
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 .
03-22-2013 08:57 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Trigger for after resurrected ?
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)
(This post was last modified: 03-22-2013 09:26 AM by darksun84.)
03-22-2013 09:22 AM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #3
RE: Trigger for after resurrected ?
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

[Image: 2nis46r.jpg]
(This post was last modified: 03-22-2013 09:42 AM by Mordaunt.)
03-22-2013 09:41 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Avatar
Journeyman
*

Posts: 172
Likes Given: 6
Likes Received: 27 in 12 posts
Joined: Apr 2012
Reputation: 5

The North Shield

Post: #4
RE: Trigger for after resurrected ?
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.
03-22-2013 12:13 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Staff_Stanic
Journeyman
*

Posts: 96
Likes Given: 25
Likes Received: 14 in 8 posts
Joined: Nov 2012
Reputation: 1

Dimension Shard

Post: #5
RE: Trigger for after resurrected ?
Code:
[EVENTS e_xxxx] // event working on(in?) what you want to do this function
ON=@SpellEffect
IF (<ARGN1> == 59)
....
ENDIF
(This post was last modified: 03-23-2013 07:19 AM by Staff_Stanic.)
03-23-2013 07:05 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #6
RE: Trigger for after resurrected ?
<argn> == <argn1>
<argn1> == <argn>

Just sayin...

[Image: 2nis46r.jpg]
03-23-2013 07:11 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Staff_Stanic
Journeyman
*

Posts: 96
Likes Given: 25
Likes Received: 14 in 8 posts
Joined: Nov 2012
Reputation: 1

Dimension Shard

Post: #7
RE: Trigger for after resurrected ?
(03-23-2013 07:11 AM)Mordaunt Wrote:  <argn> == <argn1>
<argn1> == <argn>

Just sayin...
ok... my fault Blush
03-23-2013 07:19 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)