bigslyfox Posted July 2, 2018 Share Posted July 2, 2018 Hello! Guys, I'm editing an old mod that adds a custom character. In turn, this character, according to the idea of the author, is very cowardly. I need a little help in writing the function ScaredyCat(inst), which would increase the losses of the character's sanity if he sees some kind of "terrible thing" (monsters, nightmares, bosses, wormholes, etc.). As far as I know, for the losses of the character's sanity, the inst.components.sanityaura parameter, which is tied to monsters, answers. So, is it realistic to implement the idea without affecting the code of monsters? If so, I ask for your help, advice, lines. Thank you in advance for your cooperation. P.S. English is not my mother tongue, so sorry for my illiteracy. Link to comment Share on other sites More sharing options...
bigslyfox Posted July 3, 2018 Author Share Posted July 3, 2018 Oh, I found a solution in this post. The topic can be closed. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now