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-nmm6 (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-nmm6 (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-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Death Menu
Author Message
Mordaunt
Super Moderator
****

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



Post: #21
RE: Death Menu
Do .show events on your player or .xshow events if you are looking at another play with a GM.
Make sure the event is on them, it is worthwhile noting that events listed on the EventsPlayer= line in the sphere.ini in my experience tend not to show up. No idea why.

If the event is still not working or doesn't show ingame try adding the death menu event to the player manually ingame .xevents +e_death_menu and check it is there. Then kill the player.


What I actually just noticed, because I tend to just move the triggers under an all player event I have, is that i never actually added an event names e_death_menu. If you are adding the event paste this code into the death menu script. If you are putting it under an all player event make sure you copy both triggers.

Code:
[EVENTS e_death_menu]
    ON=@Death
        if !(<isgm>)
            TIMERF 3, f_closest //timer allows for death screen change
        endif
    
    ON=@Login //This section to allow for those killed on logout who HAVE NOT used menu
        if (<flags>&statf_dead) && !(<isgm>)
                f_closest
        endif

I have now made sure that the actual event appears in the script.

[Image: 2nis46r.jpg]
(This post was last modified: 07-25-2013 10:24 AM by Mordaunt.)
07-25-2013 10:21 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)