Jump to content

Sanity Gain Helped [solved]

Recommended Posts

I'm fairly new so ignore this if you don't care
How do you grant instant (not over time) sanity gain from killing certain creatures? e.g. spiders
I understand that DoDelta can be used, but I have no clue how to activate it via killing a certain entity.
If you can give a straight answer or link a tutorial that'd be great.

Link to comment
Share on other sites

got it
local function onkilled(inst, data)
    if data ~= nil and data.victim ~= nil and data.victim:HasTag("monster") then

  • Like 1
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

  • Create New...