Core
33 functions
- Core_AddPlayerToTeamHas a player join a specific team
- Core_CallDelegateFunctions
- Core_CompareCompare two values using provided comparator
- Core_ComparisonToString
- Core_ContinueFromDefeated
- Core_DelayedGameOver
- Core_DelayedSetPlayerLose
- Core_GetActiveTeamCountReturns the number of non-eliminated teams remaining.
- Core_GetPlayersTableEntryReturns the table reference of a PLAYERS table entry
- Core_GetPlayersTableEntryFromIndexReturns the table reference of a PLAYERS table entry
- Core_GetPlayerTeamsEntryReturns the table reference of a player's TEAMS table entry
- Core_GetTeamsEntryFromIndexReturns the entry in the Teams table that corresponds to the given teamIndex.
- Core_IsModuleRegisteredReturns true if a module is registered for delegate invocation, false if delegate invocation is disabled, nil if module not in module registry.
- Core_IsPlayerEliminatedReturns true if a player is eliminated from the game.
- Core_IsPlayerOnPlayerTeamReturns true if the two given players are on the same team.
- Core_IsPlayersTableEntryValidReturns true if the PLAYERS table contains the given player.
- Core_IsTeamEliminatedReturns true if a team is eliminated from the game. A team is considered eliminated when all of its players are eliminated.
- Core_IsTeamsEntryIndexValidReturns true if teamIndex is a valid index in the Teams table.
- Core_OnGameOverCall this function to notify other modules (via their ***_OnGameOver() callback) that the match is about to end.
- Core_OnVictoryThis function plays mission outro videos, when the player wins a mission
- Core_RegisterModuleRegisters a script module for delegate invocation. The name should be the prefix used by all of the delegate functions in this module. This needs to be called in *global* scope of a module script with the prefix name of that module; use this instead of Scar_AddInit.
- Core_RemovePlayerFromPlayersTableRemoves a player from player and team tables.
- Core_SetDefaultDefeatPresentationSets the default presentation table for defeated players.
- Core_SetDefaultVictoriousPresentationSets the default presentation function for victorious players.
- Core_SetMutualPlayerRelationshipSets the relationship between two players
- Core_SetMutualRelationshipSets the relationship between two entries
- Core_SetPlayerDefeatedSets a player as defeated.
- Core_SetPlayerVictoriousSets a player as the match winner.
- Core_SetTeamDefeatedSets if a team is defeated
- Core_SetTeamVictoriousSets a team as the match winner.
- Core_SetupPlayerTables
- Core_SpectateAll
- Core_UnregisterModuleRemoves a script module from the delegate invocation system.