Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate RevealFlags (invisibility spell, hiding) into sphere.ini #588

Closed
terrikate opened this issue Jan 6, 2021 · 6 comments
Closed

Comments

@terrikate
Copy link

terrikate commented Jan 6, 2021

It would be very complicated to do something like this Sphereserver/Source#65 (comment) (or create another block for hiding) to completely separate the invisibility spell from the ability to hide in the configuration of the sphere.ini (RevealFlags)?
I think there are certain things I can solve by script but at first it's confusing to say that it applies only to the part of the spell but nevertheless affects both things. For example REVEALF_SPEAK

@Jhobean
Copy link
Contributor

Jhobean commented Jan 6, 2021

You have a concrete exemple of what you want to do?

@terrikate
Copy link
Author

terrikate commented Jan 6, 2021

For example, don't reveal a character when he talks while under the invisibility spell but do so when he is hidden with the hiding skill. It is the first case I have thought about because that's how sphere 55i, 56b, etc worked, but surely there are more.

I know that there is the TAG.OVERRIDE.NOREVEALSPEAK but you have to be careful because it would affect more things.

@xwerswoodx
Copy link
Contributor

xwerswoodx commented Jan 6, 2021

You can use something like this under player speak

On=*
IF (<FLAGS>&statf_hidden) && !(<FLAGS>&statf_invisible)
  ...REVEAL HERE
ENDIF

I haven't tried it anyway. But this can be solution for speak. And you can disable automatic revealf_speak from sphere.ini

@Jhobean
Copy link
Contributor

Jhobean commented Jan 23, 2021

What about an ini flag:
SpeakInvisDoNotReveal ?

I could script it if it's ok

@alexrmrm
Copy link
Contributor

yes will be great a flag for that option for not overload sphere with speech

@Soulless-1
Copy link
Contributor

reveal flags in the sphere.ini resolve this issue. using REVEALF_SPEAK. closing this issue out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants