Regular API function

simGetScriptExecutionCount

Description Retrieves the number of times the current script was called and returned. See also simGetSimulationState.
C synopsis -
C parameters
-
C return value
-
Lua synopsis number executionCount=simGetScriptExecutionCount()
Lua parameters
None
Lua return values
executionCount: number of times the current script was called and returned, or -1 in case of an error

All regular API functions on one page