04-07-2012, 03:52 AM
Reference:
Starts at 1 (ATTITUDE_Fear) and continues to 7 (ATTITUDE_Follow).
Code:
var(AI) enum EAttitude //important - order in decreasing importance
{
ATTITUDE_Fear, //will try to run away
ATTITUDE_Hate, // will attack enemy
ATTITUDE_Frenzy, //will attack anything, indiscriminately
ATTITUDE_Threaten, // animations, but no attack
ATTITUDE_Ignore,
ATTITUDE_Friendly,
ATTITUDE_Follow //accepts player as leader
} AttitudeToPlayer; //determines how creature will react on seeing player
Starts at 1 (ATTITUDE_Fear) and continues to 7 (ATTITUDE_Follow).