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
Manual spawn setup
Author Message
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #9
RE: Manual spawn setup
Extreme's spawner seems easy, however here you have another idea.

Code:
[function spawn]
if (<def0.<args>>)
targetf _spawn
else
sysmessage=There's no '<args>' chardef.
endif

[function _spawn]
serv.newitem=i_worldgem_bit
new.p=<targp>
new.more=<args>
new.morep=4 6 5
new.timer
sysmessage=Spawn of <serv.chardef.<args>.name> created.

So typing .spawn c_ogre will create a spawn for ogre with a respawn timer of 4-6 minutes, which you can modify later in the spawn itself or just in this code altering all future spawns (not the already ones placed).
09-12-2014 12:46 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes XuN's post
Post Reply 


Messages In This Thread
Manual spawn setup - artexd - 09-10-2014, 04:07 AM
RE: Manual spawn setup - XuN - 09-10-2014, 04:46 PM
RE: Manual spawn setup - artexd - 09-10-2014, 05:23 PM
RE: Manual spawn setup - dagger4k - 09-10-2014, 08:24 PM
RE: Manual spawn setup - artexd - 09-10-2014, 09:44 PM
RE: Manual spawn setup - darksun84 - 09-10-2014, 10:02 PM
RE: Manual spawn setup - artexd - 09-10-2014, 11:08 PM
RE: Manual spawn setup - Extreme - 09-10-2014, 11:30 PM
RE: Manual spawn setup - XuN - 09-12-2014 12:46 AM
RE: Manual spawn setup - darksun84 - 09-13-2014, 09:30 AM
RE: Manual spawn setup - Extreme - 09-13-2014, 12:42 PM

Forum Jump:


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