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
On=@Destroy works on characters?
Author Message
Gil Amarth
Journeyman
*

Posts: 189
Likes Given: 2
Likes Received: 1 in 1 posts
Joined: May 2012
Reputation: 0



Post: #4
RE: On=@Destroy works on characters?
When I say characters, I´m saying mostly npcs. I know players characters don´t delete in a normal way.

I put this simple trigger under a chardef definition of a dog.

On=@Destroy
SERV.LOG Destroy trigger works!

And nothing in my console. I understand that this triggers fires when a character is deleted from the world. And I use a .remove over them, and the trigger doesn´t fires.
It´s for my follower control system, on=@death works fine, on=@petdesert too, and in theory on=@destroy would not be necessary in most circunstances, but for me it´s most secure to check it if anything strange happens.

But this don´t work for me except for items. So I ask if anybody experience this. (Sphereserver last realease)

Forget it, it works now.

Maybe my sphere needed a reboot or anything else but today works perfectly. Lol
(This post was last modified: 11-14-2012 05:34 PM by Gil Amarth.)
11-14-2012 05:25 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
RE: On=@Destroy works on characters? - Ben - 11-14-2012, 10:52 AM
RE: On=@Destroy works on characters? - Gil Amarth - 11-14-2012 05:25 PM

Forum Jump:


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