Jump to content

Recommended Posts

Hi there folks!

I'm working on a character who emits a sanity aura for people around him. Problem is, the aura ALSO affects him. I would like the aura to only affect OTHER people, and not him.

Currently the sanity script is very rudimentary, here it is: 

-- Sanity aura!
	
	inst:AddComponent("sanityaura")
    inst.components.sanityaura.aura = TUNING.SANITYAURA_SMALL

Also; How do you get rid of the noise? Whenever his sanity aura is used, it makes the noise of rejuvinating sanity. I would prefer it to be a passive and silent effect, so any help is appreciated!

Thanks in advance!

Edited by WubbleWubble
Link to comment
Share on other sites

I just put this code in my mod char

inst:AddComponent("sanityaura")
inst.components.sanityaura.aura = TUNING.SANITYAURA_HUGE

& she didn't gain any sanity from the sanityaura, but other players did & it not make any rejuvinating sounds for them......sooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo..... ....That's kinda weird.

Hopefully, everything works out for you :)!

Edited by SuperDavid
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...