Pernyataan
func CreateMonster(out var target entity<Monster>, position Vector3, type MonsterType, teamSeq int, chaseEnemy bool, actionType ActionType, path entity<CustomPath>)
go
Parameter
Input
Nama | Jenis | Keterangan |
---|---|---|
Posisi | Vector3 | Buat lokasi |
Jenis | AIType | Tipe AI |
Urutan Tim | Int | Tim |
Kejar Musuh | Bool | Apakah akan mencari musuh secara otomatis |
Jenis Aksi | ActionType | modus serangan |
Jalur | CustomPath | jalur perjalanan |
Keluar
Nama | Jenis | Keterangan |
---|---|---|
Target | AI | Sasaran AI |