SphereCommunity
How do: Ghosts cant see player - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: How do: Ghosts cant see player (/Thread-How-do-Ghosts-cant-see-player)



How do: Ghosts cant see player - Monty - 07-14-2013 12:26 AM

Hi,

i try something like this:

[events player]
on=@click
IF <SRC.FLAGS>&STATF_dead
REMOVEFROMVIEW
RETURN 1
ENDIF

But after use this, nobody cant see this player. Is possible do only for ghost?


RE: How do: Ghosts cant see player - Mordaunt - 07-14-2013 02:17 AM

Look in your sphere.ini there is a setting for that

//Ghosts not able to see and hear living players and creatures 1=only npcs, 2=both npcs and players
DeadCannotSeeLiving=2