<- PRPL reference <- Everything Else 2

GetGameTimeFrames

ArgumentsResultNotation
int [ - Frames ]

Description

Get the game-time (i.e. mission clock time) in frames. There are 30 frames to 1 second.

Examples

GetGameTimeFrames 30 mod eq0 if # Once per second.
    "Frames:" GetGameTimeFrames Trace2
    "Seconds:" GetGameTimeFrames 30 div Trace2 # Seconds on the game clock.
endif