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

На главную


.

battleground.GetCheckpointTeam( checkpointId )

Выдаёт идентификатор команды указанной контрольной точки баттлграунда

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

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

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

-- возвращаемое значение:
teamId :  BattlegroundMarkId или nil - если принадлежность определённой команде имеется, то возвращается идентификатор команды, если принадлежность не определена или чекпойнт с указанным Id не найден - возвращается nil

Пример:

local teamId = battleground.GetCheckpointTeam( checkpointId )

См. также:

battleground.GetCheckpointInfo( checkpointId ),

battleground.GetLinkedCheckpoint( checkpointId )

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

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


CategoryLuaApi CategoryFunction CategoryBattleground

На главную