SphereCommunity
Revealing - Printable Version

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



Revealing - Leonidas - 11-04-2015 10:52 AM

Trying to reveal a player after he casts a spell with on=@spellsuccess, but I can't seem to figure out how to remove the "invisible" flag from the player.


RE: Revealing - Criminal - 11-04-2015 05:17 PM

@spellsuccess
reveal


RE: Revealing - Leonidas - 11-04-2015 05:31 PM

Yeah I tried that and it did nothing


RE: Revealing - darksun84 - 11-04-2015 06:36 PM

flags = <flags> &~ <statf_invisible>


RE: Revealing - pointhz - 11-05-2015 05:50 AM

Src.say


RE: Revealing - Coruja - 11-05-2015 08:13 AM

you must use the REVEAL function

REVEAL statf_invisible
REVEAL statf_invisible|statf_hidden
etc

if you just use REVEAL (without args) sphere will assume "statf_invisible|statf_hidden|statf_sleeping" by default


RE: Revealing - Leonidas - 11-05-2015 08:59 AM

Yeah I read about the reveal somewhere in the revisions, but I don't have a nightly version, so I don't think my server recognizes that command, it's gives me an undefined keyword error.

But I used what darksun posted and it seems to be working fine, thanks everyone for the help.


RE: Revealing - rastrero - 01-17-2016 12:05 PM

Try this one.
spelleffect s_reveal 100.0