logoHourGlass
Obj.GetType

Obj.GetType

Obj.GetType(ObjectIndex)

函數功能

獲取指定Object Index的Object類型。

參數說明

  • ObjectIndex數值型 目標的 物件index。

返回值

  • -1:非法
  • 0:未使用
  • 1:角色
  • 2:道具
  • 3:金幣
  • 4:傳送點
  • 5:船
  • 6:載具