SphereCommunity
(Solved) Removing ghost after a player´s dead - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: (Solved) Removing ghost after a player´s dead (/Thread-Solved-Removing-ghost-after-a-player%C2%B4s-dead)



(Solved) Removing ghost after a player´s dead - Gil Amarth - 09-09-2012 10:40 AM

Is it possible?

When a player dies I can always see his ghost walking and it´s a bit ugly this effect.
I have tried to put TIMERF 0 REMOVEFROMVIEW under @DEATH trigger, and almost succed to remove the ghost, but for only 1 second after the dead is clearly visible, and then disappear.

Is it possible to remove completely seeing the ghost?


RE: Removing ghost after a player´s dead - Shaklaban - 09-09-2012 10:51 AM

Maybe you can try something like this:

on=@death
sendpacket 072 00 00 32 00
flags=<flags>&~statf_war


RE: Removing ghost after a player´s dead - WRWR - 09-09-2012 11:01 AM

also add

ON=@Click
IF <FLAGS>&STATF_dead
REMOVEFROMVIEW
RETURN 1
ENDIF


RE: Removing ghost after a player´s dead - Gil Amarth - 09-09-2012 11:17 AM

The solution of WRWR works perfect!

It works like a charm, thank you very much. Smile


RE: (Solved) Removing ghost after a player´s dead - RanXerox - 09-10-2012 01:37 AM

So out of curiosity... do you never want players to resurrect their friends, or is there some way for them to do that still?


RE: (Solved) Removing ghost after a player´s dead - WRWR - 09-10-2012 03:14 AM

Friends must live Smile enemy die


RE: (Solved) Removing ghost after a player´s dead - Gil Amarth - 09-10-2012 08:33 AM

No, I don´t want players resurrections.

When my players dies, the linger about 10 seconds dead, and next they are resurrected in the last shrine they offered some gold.

I plan using my own magic spells, and I don´t want resurrections spells neither.
If you fail in a dungeon, or in a pvp combat, you have to pay the consequences. Dying have to be harsh. Smile