Declaration
func CreateMonster(out var target entity<Monster>, position Vector3, type MonsterType, teamSeq int, chaseEnemy bool, actionType ActionType, path entity<CustomPath>)
go
Parameters
Input
| Name | Type | Description |
|---|---|---|
| Position | Vector3 | Create a location |
| Type | AIType | AI Types |
| Team Sequency | Int | Team |
| Chase Enemy | Bool | Whether to automatically search for enemies |
| Action Type | ActionType | Attack Mode |
| Path | CustomPath | Travel path |
Out
| Name | Type | Description |
|---|---|---|
| Target | AI | Target AI |