Пользовательские дополнения

На главную


battleground.IsCheckpoint( checkpointId )

Проверить является ли ObjectId контрольной точки баттлграунда.

-- библиотека:
battleground

-- объявление:
function IsCheckpoint( checkpointId )

-- параметры:
checkpointId : ObjectId - контрольная точка

-- возвращаемое значение:
bool - true если контрольная точка, false если нет

Пример:

if checkpointId and battleground.IsCheckpoint( checkpointId ) then
  local checkpointInfo = battleground.GetCheckpointInfo( checkpointId )
end

См. также:

battleground.GetCheckpointInfo( checkpointId )

Связанные страницы: "CategoryLuaApi" "CategoryBattleground"

BattlegroundMarkId
CategoryBattleground
EnumBattlegroundRecapturablePlayerSpawnPlaceState
EventBattlegroundCheckpointAdded
EventBattlegroundCheckpointRemoved
EventBattlegroundCheckpointsChanged
EventBattlegroundCheckpointStateChanged
FunctionBattlegroundGetAvatarMark
FunctionBattlegroundGetCheckpointInfo
FunctionBattlegroundGetCheckpoints
FunctionBattlegroundGetCheckpointTeam
FunctionBattlegroundGetHeroesArenaQuitSpell
FunctionBattlegroundGetHeroesArenaStartStageSpell
FunctionBattlegroundGetLinkedCheckpoint
FunctionBattlegroundGetPlayerMark
FunctionBattlegroundIsCheckpoint


CategoryLuaApi CategoryFunction CategoryBattleground

На главную