| Home Page | Recent Changes | Preferences

EAttitude

Actor >> Pawn (UT) declares Enum eAttitude

eAttitude is an enumerated type that is used by the AI to determine how the Bot (UT)s (and creatures) react to the player. The enumerated type has the following elements (in order of decreasing importance):

Value Description
ATTITUDE_Fear The bot will try and run away from the "other Pawn (UT)".
ATTITUDE_Hate The bot will try and attack the "other pawn".
ATTITUDE_Frenzy The bot will attack anything, indiscriminately.
ATTITUDE_Threaten The bot/creature will act in a threatening manner but will not attack the "other pawn".
ATTITUDE_Ignore The bot/creature will ignore the "other pawn".
ATTITUDE_Friendly The bot is friendly to the "other pawn".
ATTITUDE_Follow The bot accepts the "other pawn" as its leader.

As far as I can tell ATTITUDE_Frenzy, ATTITUDE_Threaten, and ATTITUDE_Follow are not used in Unreal Tournament.

The primary function for determining a bot's attitude is the function Bot (UT).AttitudeTo(). This function calls DeathMatchPlus.AssessBotAttitude() to obtain a value of 0, 1, 2, or 3. This value is then translated into fear, hate, ignore, and friendly respectively.

Category Enum

The Unreal Engine Documentation Site

Wiki Community

Topic Categories

Image Uploads

Random Page

Recent Changes

Offline Wiki

Unreal Engine

Console Commands

Terminology

Mapping Topics

Mapping Lessons

UnrealEd Interface

Questions&Answers

Scripting Topics

Scripting Lessons

Making Mods

Class Tree

Questions&Answers

Modeling Topics

Questions&Answers

Log In