Toggleable player following. (#1583)
* Added MF8_DONTFOLLOWPLAYERS. Added the MF8_DONTFOLLOWPLAYERS flag, which allows friendly monsters to not follow their FriendPlayer when they have no target or goal left to head to. * Changed the order that the DONTFOLLOWPLAYERS check runs in. This is done to not produce unnecessary overhead on hostile monsters.
This commit is contained in:
parent
e0289eb0ac
commit
3d1ddbc80e
3 changed files with 3 additions and 1 deletions
|
|
@ -338,6 +338,7 @@ static FFlagDef ActorFlagDefs[]=
|
|||
DEFINE_FLAG(MF8, MAP07BOSS2, AActor, flags8),
|
||||
DEFINE_FLAG(MF8, AVOIDHAZARDS, AActor, flags8),
|
||||
DEFINE_FLAG(MF8, STAYONLIFT, AActor, flags8),
|
||||
DEFINE_FLAG(MF8, DONTFOLLOWPLAYERS, AActor, flags8),
|
||||
|
||||
// Effect flags
|
||||
DEFINE_FLAG(FX, VISIBILITYPULSE, AActor, effects),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue