Skip to content
Jakub Baranowski edited this page Dec 12, 2021 · 4 revisions

gamemode

GetRoundStageTime ()

GetScript ()

GetPlayerList (SortType, TeamId, MustWantToEnterPlay, MinLives, MustBeHuman)

GetReadyPlayerTeamCounts (ExcludeBots)

AddPlayerTeam (Team, Name, ProfileName)

ClearGameStats (ClearGameStats)

GetInsertionPointName (InsertionPoint)

GetPlayerListByLives (TeamId, AmountOfLivesLeft, ExcludeBots?)

SendEveryoneToPlayArea ()

MakeEveryoneSpectate ()

AddObjectiveMarker (Location, TeamId, Name, Active)

ClearGameObjectives ()

GetPlayerCount (ExcludeBots)

AddGameObjective (TeamId, Name, Type)

SetRoundStageTime (RoundStageTime)

PrepLatecomer (Target)

GetRoundStage ()

GetBestLateComerInsertionPoint (Target)

EnterReadyRoom (Target)

BroadcastGameMessage (GameMessageId, Duration)

SetRoundStage (RoundStageName)

ClearRoundStageTime ()

EnterPlayArea (Target)

SendEveryoneToReadyRoom ()

AddGameStat (GameStat)

SetTeamAttitude (Team, OtherTeam, Attitude)

Parameters:

  • Team int - Id of the team which will have the attitude set.
  • OtherTeam int - Id of the team toward which the attitude will be set.
  • Attitude string - Attitude that is to be set for the Team toward OtherTeam
    • "friendly"
    • "neutral"
    • "hostile"

Note that the Attitude does not have to be symmetrical, i.e. team 1 can be hostile toward team 2, while at the same time team 2 is neutral toward team 1. If you want the attitude to be mutual you will need to set it for both teams separately.

Untested

SetCaptureState

New in 1032

ResetWatch

New in 1032

SetPlayerTeamRole

New in 1032

ResetTeamScores

New in 1032

ClearSearchLocations

New in 1032

ResetPlayerScores

New in 1032

SetGameModeName

New in 1032

SetTeamScoreTypes

New in 1032

SetCaptureZone

New in 1032

ResetMatchStats

New in 1032

AwardTeamScore

New in 1032

SetDefaultRoundStageTime

New in 1032

SetPlayerScoreTypes

New in 1032

SetWatchMode

New in 1032

AddSearchLocation

New in 1032

SetRoundIsTemporaryGameMode

New in 1032

Clone this wiki locally