Aimove types

dantedevil

Well-known member
I have seen that AIMOVE NORMAL does not appear in the manual.
It means that he is not active anymore?

Code:
attack can only hit on the ground.

aimove {type}
~This command sets enemy's walk AI. IOW it sets how enemy walks around in evels.
~Default AI is enemy will go after player or other entity he/she/it is hostile to
~Accepted types for {type} are:
Chase = Enemy will always chase player and this allows enemy to use RUN and RUNATTACK if enemy has it.
Chasex = Enemy will chase player but it only lines up enemy's X axis with player's.
Chasez = Enemy will chase player but it only lines up enemy's Z axis with player's.
Avoid = Enemy will always avoid player.
Avoidx = Enemy will always avoid player but enemy only avoids lining up X axis with player's.
Avoidz = Enemy will always avoid player but enemy only avoids lining up Z axis with player's.
Wander = Enemy walks without certain destination (hence the name).
Ignoreholes = Enemy walks without ignoring holes. This makes enemy walks to holes stupidly.
~Can be declared more than once but combine proper ones. avoid and chase are bad combination but avoidx and chasez are good one
 
I tested AIMOVE NORMAL, a command recognized by the software and the enemy does nothing particular, just chase the target by walking and attacking.
I use the command chase and wander which works well so I confirm that these commands work with the latest openbor version  :D
I'm also interested in all types of AI behavior and how to make custom AI.
 
dantedevil said:
I have seen that AIMOVE NORMAL does not appear in the manual.
It means that he is not active anymore?

Code:
attack can only hit on the ground.

aimove {type}
~This command sets enemy's walk AI. IOW it sets how enemy walks around in evels.
~Default AI is enemy will go after player or other entity he/she/it is hostile to
~Accepted types for {type} are:
Chase = Enemy will always chase player and this allows enemy to use RUN and RUNATTACK if enemy has it.
Chasex = Enemy will chase player but it only lines up enemy's X axis with player's.
Chasez = Enemy will chase player but it only lines up enemy's Z axis with player's.
Avoid = Enemy will always avoid player.
Avoidx = Enemy will always avoid player but enemy only avoids lining up X axis with player's.
Avoidz = Enemy will always avoid player but enemy only avoids lining up Z axis with player's.
Wander = Enemy walks without certain destination (hence the name).
Ignoreholes = Enemy walks without ignoring holes. This makes enemy walks to holes stupidly.
~Can be declared more than once but combine proper ones. avoid and chase are bad combination but avoidx and chasez are good one

AIMOVE NORMAL does not exist as an normal OpenBOR command, because this is just the default AI behavior an enemy uses when you have not declare any of the aimove {type} the manual has.
It does exist only in script(for obvious reasons) like this: changeentityproperty(self, "aimove", openborconstant("AIMOVE1_NORMAL"));
 
Back
Top Bottom