SCI Kernel Documentation/System Functions: Difference between revisions
No edit summary |
|||
| (10 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
[[Category:SCI Pages]] | |||
[[Official SCI Documentation]]<br /> | [[Official SCI Documentation]]<br /> | ||
[[SCI Kernel Documentation|Table of Contents]] | |||
| |||
<div align="center"> | <div align="center"> | ||
Chapter: | Chapter: | ||
| Line 21: | Line 23: | ||
[[SCI Kernel Documentation/Debugging Functions|17]] | | [[SCI Kernel Documentation/Debugging Functions|17]] | | ||
[[SCI Kernel Documentation/Index|Index]] | [[SCI Kernel Documentation/Index|Index]] | ||
</div> | </div> | ||
<div align="center"><span style="font-size: 22pt">System Functions</span><br />''Author: [[Jeff Stephenson]] 1988-04-04''<br />''Revision by: [[David Slayback]] 1989-07-25''</div></div> | |||
<div align="center"><span style="font-size: 22pt">System Functions</span><br /> | |||
''Author: [[Jeff Stephenson]]''<br /> | |||
''Revision by: David Slayback''</div> | |||
<br /> | |||
==<br /> System Functions == | ==<br /> System Functions == | ||
| Line 44: | Line 42: | ||
</blockquote> | </blockquote> | ||
==<br /> References == | |||
<references /><!-- Do not edit this section. It is autopopulated by <ref></ref> tags --> | |||
==<br /> Also See == | |||
< | |||
* [[:Category:Official Documentation|Official Documentation]] | |||
* [[:Category:Interpreter Articles|Interpreter Articles]] | |||
* [[:Category:System Functions|System Functions]] | |||
* [[:Category:Animation|Animation Articles]] | |||
* [[:Category:SCI Scripting|SCI Scripting Articles]] | |||
| | ||
[[SCI Kernel Documentation | Table of Contents]] | [[Official SCI Documentation]]<br /> | ||
[[SCI Kernel Documentation|Table of Contents]] | |||
<span style="float: left">[[SCI Kernel Documentation/Object Functions|< Previous: Object Functions]]</span> | <span style="float: left">[[SCI Kernel Documentation/Object Functions|< Previous: Object Functions]]</span> | ||
<span style="float: right">[[SCI Kernel Documentation/String Functions|Next: String Functions >]]</span> | <span style="float: right">[[SCI Kernel Documentation/String Functions|Next: String Functions >]]</span> | ||
| | ||
[[Category:References]] | |||
[[Category:SCI References]] | |||
[[Category:Historical Pages]] | |||
[[Category:SCI Historical Pages]] | |||
[[Category:Development]] | |||
[[Category:SCI Development]] | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:SCI Documentation]] | [[Category:SCI Documentation]] | ||
[[Category:SCI | [[Category:Official Documentation]] | ||
[[Category:SCI | [[Category:Official SCI Documentation]] | ||
[[Category:Technical Info]] | |||
[[Category:SCI Technical Info]] | |||
[[Category:Interpreter Articles]] | |||
[[Category:SCI Interpreter Articles]] | |||
[[Category:Scripting]] | |||
[[Category:SCI Scripting]] | |||
[[Category:Animation]] | |||
Latest revision as of 17:00, 17 January 2026
Official SCI Documentation
Table of Contents
System Functions
(Wait n)
Wait until n timer ticks (1/60th of a second) have passed since the last call to Wait. This is used to keep animation running at a constant speed -- each pass through the main loop ends with a call to Wait, so the main loop is executed at most once in a given time interval. The standard value of n is 6, leading to animation every 1/10th of a second. If more than n ticks have occurred since the last call to Wait, it returns immediately. The return value of Wait is the number of ticks more than n since the last call.
(GetTime [realTime])
With no arguments, returns the low word of the number of ticks (1/60th of a second) since the game was booted. With an argument, returns real system time in the format:
HHHH/MMMMMM/SSSSSS
References
Also See
- Official Documentation
- Interpreter Articles
- System Functions
- Animation Articles
- SCI Scripting Articles