Register an account now to get access to all board features. After you've registered and logged in, you'll be able to create topics, post replies, send and receive private messages, disable the viewing of ads and more!

Changing the size of an actor does nothing to prevent it from being killed in the usual ways. What prevents it from being killed is when you also change the cstat to remove the hitscan bit, or if you make the shrunken actor bypass the normal damage processing code. You need to look carefully at what the code is doing and make changes. There's no secret command or formula.

By placing them together, one or the other does not work. I do not know if I have to add them in the "state pigshrinkstatepsx" before the "useractor enemy" or directly in the code "useractor enemy" in "else ifai AIPIGCOPPSXSHRINK "