SphereCommunity
Death Menu - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Submissions (/Forum-Script-Submissions)
+--- Thread: Death Menu (/Thread-Death-Menu)

Pages: 1 2 3


RE: Death Menu - Onirim - 12-16-2012 03:17 AM

Thank you very much, it's perfect now =)


RE: Death Menu - Kyrbis - 07-25-2013 06:17 AM

I've set it up as described, but when i die, it doesn't trigger.and the server gives no errors.
i took this event
[EVENTS e_death_event]
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


and have set it in sphere ini for all players. it simply does not trigger.and since i have no messages on the console i can't figure out whats wrong.
Any ideas?


RE: Death Menu - darksun84 - 07-25-2013 07:11 AM

http://forum.spherecommunity.net/Thread-Death-Menu?pid=7375#pid7375


RE: Death Menu - Kyrbis - 07-25-2013 08:01 AM

really, i've checked it all, but it won't fire Sad

also corrected the login triggger according to mordaunts example
ON=@Login //This section to allow for those killed on logout who HAVE NOT used menu
if (<flags>&=statf_dead>) && !(<isgm>)
f_closest
endif

but still, wenn i die (plevel1 character), no menu pops up


RE: Death Menu - darksun84 - 07-25-2013 08:35 AM

It works fine for me, pay attention when you have to copy-paste the commented triggers Shock

Also what version you are using the one i downloaded doesn't have the &= but &(correct)


RE: Death Menu - Kyrbis - 07-25-2013 08:39 AM

i've just put this event up there in my scripts, and ganve it to everyone. and i downloaded the latest version, and (10mins ago) corrected the lines you mean. but even on a death , the normal menu does not appear.


RE: Death Menu - darksun84 - 07-25-2013 08:47 AM

That's weird hmmm

Did you remove the // in Eventsplayer ?

Also try to add it in a normal event for testing


RE: Death Menu - Kyrbis - 07-25-2013 09:10 AM

i did. stilll not working -.-


RE: Death Menu - darksun84 - 07-25-2013 09:23 AM

Add a serv.log test before the if in the @Death trigger.

It's a weird thing, but it happens (at least in notepad++) when copy-pasting and removing the //, the indentation of the lines goes wrong and mess up the script Confused


RE: Death Menu - Kyrbis - 07-25-2013 09:43 AM

nothing 0_o as if the event doesn't take place anywhere....i'll have to sleep over that...something MUST be missing in my set up...or i'm cursed