InDemoMode: Difference between revisions

m
no edit summary
(Added page for InDemoMode.)
 
mNo edit summary
Tag: Source edit
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Template:ACSWarning}}
{{Template:ACSWarning}}
int '''InDemoMode''' (void) {{Devfeature|3.1|alpha}}
int '''InDemoMode''' (void)


==Usage==
== Usage ==
 
=== Return value ===
This function can be used to determine if a demo is currently being run or not.
Returns true if the engine is currently playing a demo, false otherwise.
 
==Examples==


== Examples ==
<syntaxhighlight lang="c" line="1">
<syntaxhighlight lang="c" line="1">
Script 1 OPEN
Script 1 OPEN
Line 16: Line 15:
     }
     }
}
}
</syntaxhighlight >
</syntaxhighlight>


[[category:ACS Functions]]
[[category:ACS functions]]