ยืนยัน
func CreateMonster(out var target entity<Monster>, position Vector3, type MonsterType, teamSeq int, chaseEnemy bool, actionType ActionType, path entity<CustomPath>)
go
ข้อมูลพารามิเตอร์
ใส่ค่า
| ชื่อ | ประเภท | คำอธิบาย |
|---|---|---|
| ตำแหน่ง | Vector3 | สร้างสถานที่ |
| ประเภท | AIType | ประเภทเอไอ |
| ลำดับฉากทีม | Int | ทีม |
| ไล่ตามศัตรู | Bool | ไม่ว่าจะค้นหาศัตรูโดยอัตโนมัติ |
| ประเภทของการกระทำ | ActionType | โหมดการโจมตี |
| เส้นทาง | CustomPath | เส้นทางการเดินทาง |
ออก
| ชื่อ | ประเภท | คำอธิบาย |
|---|---|---|
| เป้าหมาย | AI | เป้าหมายเอไอ |