No Title

From DarkAI

AI ENTITY DEFEND POINT

Similar to AI Entity Defend Area this command sets the entity into a defensive mode but will keep the entity fixed at the specified point, where the only allowed response to attack is to duck/stand and return fire. This can be useful for making sure particular entities remain at key defence points and not wonder off following targets. This command resets the entity's idle position to the defend point.

This is an automatic mode command (see AI Set Entity Control)


Syntax
AI Entity Defend Point Entity Number, Position X#, Position Z#

Parameters
Entity Number, The id of the entity you want to defend the point.
Position X#, The X component in world co-ordinates of the point to defend.
Position Z#, The Z component in world co-ordinates of the point to defend.

Return
n/a