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
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RES EVENT
Author Message
dabritmusic
Journeyman
*

Posts: 50
Likes Given: 8
Likes Received: 2 in 1 posts
Joined: Nov 2013
Reputation: 0



Post: #1
RES EVENT
im having trouble getting this event to res you after the timer. not too sure hat i did wrong. ive been reading spherewiki and couldnt see anything.

[PLEVEL 1]
res

[FUNCTION RES]
IF <SRC.TAG.RES>=1>>
src.findid.i_res_delay.remove
SRC.TAG.RES=0
SYSMESSAGE @079 You have changed your mind about Resurrecting!
RETURN 1
ELSE
IF ((<SRC.BODY>==c_ghost_man) ||(<SRC.BODY>==c_ghost_woman))
SRC.NEWITEM=i_res_delay
SRC.ACT.EQUIP
SRC.MESSAGE @0481 You Will Be Ressurected In 60 Seconds. Please Stay On Your Body!
ELSE
SRC.MESSAGE @0481 You Cannot Use This Command While Alive!
RETURN 1

[ITEMDEF i_res_delay]
DEFNAME=i_res_delay
ID=i_handr_1
NAME=Res Delay
TYPE=T_EQ_SCRIPT
LAYER=30
WEIGHT=0

ON=@CREATE
ATTR=attr_invis
MORE1=5

ON=@EQUIP
TIMER=1

ON=@Timer
if ( <cont> )
if ( <more1> )
cont.message @079 <EVAL(<more1>)>
more1=<more1>-1
TIMER=1
return 1
ENDIF
SRC.RESURRECT
src.sfx 01eb
src.spelleffect 06 1000
RETURN 1
01-23-2014 09:56 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
RES EVENT - dabritmusic - 01-23-2014 09:56 AM
RE: RES EVENT - darksun84 - 01-23-2014, 10:06 AM
RE: RES EVENT - XuN - 01-23-2014, 06:08 PM
RE: RES EVENT - Extreme - 01-23-2014, 10:23 PM

Forum Jump:


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