logoHourGlass
Battle.GetEntryPosition

Battle.GetEntryPosition

Battle.GetEntryPosition(BattleIndex, CharIndex)

函數功能

獲取對象在戰場中的位置

參數說明

  • BattleIndex數值型 戰鬥index,爲Encount、PVE或PVP函數的返回值。
  • CharIndex數值型 對象index,可以爲玩家、寵物、敵人。

返回值

返回-1失敗,成功返回對象實例在戰鬥中的位置,範圍0-19,其中0-9爲下方隊列(己方),10-19爲上方隊列(敵方)。