This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
prpl:getgametimeframes [2016/12/02 23:33] – external edit 127.0.0.1 | prpl:getgametimeframes [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
<- [[.: | <- [[.: | ||
- | ===== | + | ===== |
^Arguments^Result^Notation^ | ^Arguments^Result^Notation^ | ||
- | | | | [ - ] | | + | | | int | [ - Frames |
=== Description === | === Description === | ||
+ | Get the game-time (i.e. mission clock time) in frames. There are 30 frames to 1 second. | ||
=== Examples === | === Examples === | ||
- | < | + | < |
- | + | ||
+ | GetGameTimeFrames 30 mod eq0 if # Once per second. | ||
+ | " | ||
+ | " | ||
+ | endif | ||
</ | </ | ||