Monster

Monster

AI
Component
Combine:
Combatable
Spawnable
Transform
Container
Visibility

Properties

Name Type Description Script Name
HP Int \ HP
Max. HP Int \ HPMax
Host Team Team Read Only
HostTeam
Old Spawn Point Direction point[Obsolete] \ SpawnPosition_Deprecated
Attack Damage Int \ AttackDamage
Attack Interval Int \ AttackInterval
Attack Range Float \ AttackRange
Wander Range Float \ WanderRange
Chase Vicinity Float \ DetectRange
Run Speed Float \ RunSpeed
Is Dead Drop Bool \ IsDeadDrop
Is Invincible Bool \ IsInvincible
Damage Taken Percent Float \ DamageTakenPercent
Monster Type Monster Type Read Only
MonsterType
Is Auto-Chase Enemy Bool Read Only
IsAutoChaseEnemy
Action Type Int Read Only
0 = auto attack, 1 = defensive attack, 2 = do not attack
ActionType
Path ID Int Read Only
PathID
Chase Target Combatable The entity that is being chased by the AI ChaseTarget
Attack Target Combatable Read Only
The entity that is being attacked by the AI
AttackTarget
Spawn Position Vector3 The coordinates of the AI’s spawnpoint SpawnPosition
Team serial no. Int Read Only
Team Faction Number
TeamIndex

Event

Name Description
On Chase Triggered when the pursuit target enters the pursuit range
On Chase Stop Triggered when the pursuit target leaves the pursuit range
On Attack Triggered when the target enters the attack range
On Attack Stop Triggered when the target leaves the attack range

API

Name Description
Enable Default Behavour Tree AI entity stops/executes default behavior tree
Pursuit Target AI entity chases the designated target
Attack Target AI entity attacks the specified target
Patrol To AI entities patrolling to target points
Patrol Along AI entities patrol in order of the list of coordinates
Use Skill Target AI releases certain skill