创建僵尸

AI
服务端
Both Mobile and PC

创建AI怪物

声明

func CreateMonster(out var target entity<Monster>, position Vector3, type MonsterType, teamSeq int, chaseEnemy bool, actionType ActionType, path entity<CustomPath>)
go

参数

输入

名称 类型 描述
位置 Vector3 创建位置
类型 AIType AI类型
队伍 Int 所属队伍
自动索敌 Bool 是否自动索敌
攻击模式 ActionType 攻击模式
路径 CustomPath 行进路径

输出

名称 类型 描述
目标 AI 目标AI