ScriptBind_GameStatistics

PushGameScope

Pushes a scope on top of the stack.

GameStatistics.PushGameScope(scopeID)
ParameterDescription
scopeIDidentifier of the scope to be placed on top of the stack.

PopGameScope

Removes the scope from the top of the stack.

GameStatistics.PopGameScope( [checkScopeId] )
ParameterDescription
checkScopeId(optional)

CurrentScope

Returns the ID of current scope, -1 if stack is empty.

GameStatistics.CurrentScope()

AddGameElement

Adds a game element to specified scope.

GameStatistics.AddGameElement( scopeID, elementID, locatorID, locatorValue [, table])

RemoveGameElement

Removes element from the specified scope if data parameters match.

GameStatistics.RemoveGameElement( scopeID, elementID, locatorID, locatorValue )

Event

GameStatistics.Event()

StateValue

GameStatistics.StateValue( )

BindTracker

GameStatistics.BindTracker( name, tracker )

UnbindTracker

GameStatistics.UnbindTracker( name, tracker )