Пользовательские дополнения
На главную
battleground.GetLinkedCheckpoint( checkpointId )
Выдаёт прилинкованную к указанной контрольную точку баттлграунда (если аватар участвует в баттлграунде).
-- библиотека:
battleground
-- объявление:
function GetLinkedCheckpoint( checkpointId )
-- параметры:
checkpointId : ObjectId - контрольная точка
-- возвращаемое значение:
linkedPointId : ObjectId или nil - соединённая (прилинкованая) контрольная точка, (если есть)
Пример:
local linkedPointId = battleground.GetLinkedCheckpoint( checkpointId )
См. также:
battleground.GetCheckpointInfo( checkpointId )
Связанные страницы: "CategoryLuaApi" "CategoryBattleground"
BattlegroundMarkId
CategoryBattleground
EnumBattlegroundRecapturablePlayerSpawnPlaceState
EventBattlegroundCheckpointAdded
EventBattlegroundCheckpointRemoved
EventBattlegroundCheckpointsChanged
EventBattlegroundCheckpointStateChanged
FunctionBattlegroundGetAvatarMark
FunctionBattlegroundGetCheckpointInfo
FunctionBattlegroundGetCheckpoints
FunctionBattlegroundGetCheckpointTeam
FunctionBattlegroundGetHeroesArenaQuitSpell
FunctionBattlegroundGetHeroesArenaStartStageSpell
FunctionBattlegroundGetLinkedCheckpoint
FunctionBattlegroundGetPlayerMark
FunctionBattlegroundIsCheckpoint
CategoryLuaApi
CategoryFunction
CategoryBattleground
На главную