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
Spaw script time defined
Author Message
victorstelzer
Journeyman
*

Posts: 80
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jun 2012
Reputation: 0



Post: #1
Spaw script time defined
I need to adjust this script

Define where the npc will be created, and whenever 18hrs, he created the Spaw of Npcs

------------------------------------------------------------


[ITEMDEF i_animal_spawner]
ID=0ed8
NAME=Animal Spawner
TYPE=T_NORMAL

ON=@Create
ATTR=ATTR_STATIC|ATTR_DECAY

ON=@Timer
OBJ=<MORE1>
IF (<OBJ.FLAGS>&statf_pet) || (<OBJ.BASEID>!=<MORE2>) || !(<OBJ>)
DORAND 4
SERV.NEWNPC=C_OSTARD_DESERT
SERV.NEWNPC=C_OSTARD_FOREST
SERV.NEWNPC=C_OSTARD_ZOSTRICH
SERV.NEWNPC=C_LLAMA
ENDDO
NEW.RANDLOCATION
NEW.HOME=<NEW.P>
NEW.HOMEDIST=5
IF !(<R10>)
NEW.COLOR=<EVAL {077a 07a9}>
ENDIF
MORE1=<NEW>
MORE2=<NEW.BASEID>
ENDIF
TIMER=60
RETURN 1

ON=@Dclick
SRC.GOUID <MORE1>
RETURN 1

[EOF]
11-13-2012 12:05 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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