Page 1 of 1

Monster runs away at sight of player

Posted: Fri Dec 16, 2022 10:17 am
by AshHouswares
I cannot seem to find anywhere on the wiki that explains this. I'm sure I once pulled this off myself, many years ago using DECORATE but the wiki seems absent from that AI function??? How do I make a monster run from the player on sight?

Re: Monster runs away at sight of player

Posted: Fri Dec 16, 2022 11:49 am
by Jarewill
Are you looking for the +FRIGHTENED flag?

Re: Monster runs away at sight of player

Posted: Sun Dec 18, 2022 3:39 pm
by AshHouswares
Jarewill wrote: Fri Dec 16, 2022 11:49 am Are you looking for the +FRIGHTENED flag?
Ahhhh yes that was it. It was a flag! No wonder I couldn't find it in the A_XXX functions. Thanks! Fixed now.