Jump to content

Making a mob invisible (no, I'm not complaining about a bug)


Recommended Posts

So, I want a way to make a mob invisible.

 

The principle is a mixture of Abigail and Crawling Horror: The mob should not interact to mouse scrolls (and of course not be visible) to players, mobs, etc. Yet, I want it to recover it's opacity and attack players (or anything else) once anything hits the player the Crawling Abigail Horror is linked to (or if the player decides to hit something).

 

I have somewhat of a structure ready, but I can't find something to make the Crawling Abigail Horror thingy "non-opaque" or "non-interactive". (Neither have I found what makes the crawling horror non-interactive until certain level of sanity). Does anyone know what I should look for?

 

 

Keep in mind that I don't want something transparent like the crawler, but something really invisible until the main player is hit.

Link to comment
Share on other sites

inst:Hide()

to make your mob disappear and be unclickable and still be there.

inst:Show()

to make it be there and be clickable.

 

If your mob has a dynamic shadow you use:

inst.DynamicShadow:Enable(false)inst.DynamicShadow:Enable(true)

to turn it off and on.

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...