Difference between revisions of "AGIWiki/Special flags"
< AGIWiki
Jump to navigation
Jump to search
m |
m |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{AGIWiki}} | {{AGIWiki}} | ||
Some [[AGIWiki/ | Some [[AGIWiki/Flag|flags]] have special meaning to the [[AGIWiki/Interpreter|interpreter]]: | ||
{| style="border: | {| border="1" cellpadding="5" cellspacing="5" style="border-collapse: collapse; border-style: hidden; text-align: left; " | ||
|- style="background: #ececec" | |- style="background: #ececec" | ||
! Flag | ! Flag | ||
Line 34: | Line 34: | ||
| <code>input_parsed</code> | | <code>input_parsed</code> | ||
| <code>InputParsed</code> | | <code>InputParsed</code> | ||
| | | The input recieved from the player has been parsed (the [[AGIWiki/Said|said]] command has returned true at some point) | ||
The input recieved from the player has been parsed (the [[AGIWiki/Said|said]] command has returned true at some point) | |||
|- | |- | ||
| 5 | | 5 | ||
Line 50: | Line 49: | ||
| <code>script_buffer_blocked</code> | | <code>script_buffer_blocked</code> | ||
| <code>ScriptBufferBlocked</code> | | <code>ScriptBufferBlocked</code> | ||
| | | Prevents the interpreter from writing to the [[AGIWiki/Memory and Script#Script Buffer|script buffer]] | ||
Prevents the interpreter from writing to the [[AGIWiki/Script | |||
|- | |- | ||
| 8 | | 8 | ||
Line 66: | Line 64: | ||
| <code>trace_enabled</code> | | <code>trace_enabled</code> | ||
| <code>DebugMode</code> | | <code>DebugMode</code> | ||
| | | [[AGIWiki/Trace mode|Trace mode]] is enabled | ||
[[AGIWiki/Trace mode|Trace mode]] is enabled | |||
|- | |- | ||
| 11 | | 11 | ||
Line 92: | Line 89: | ||
| <code>windows_remain</code> | | <code>windows_remain</code> | ||
| <code>MsgWindowRemain</code> | | <code>MsgWindowRemain</code> | ||
| Windows created by [[AGIWiki/Print|print]] and similar commands remain on screen until the [[AGIWiki/Close.window|close.window]] command is used. If this flag is not set, the windows remain on screen until the user presses a key or for the time specified by v21 (window_close_time). | |||
|- | |||
| 16 | |||
| <code>restart_game</code> | |||
| <code>restart.game</code> | |||
| [[AGIWiki/restart.game|restart.game]] command automatically restarts game without asking user | |||
|- | |||
| 20 | |||
| | |||
| | | | ||
| for views with > 4 loops, loop is set automatically depending on direction; loop stays fixed if flag not set (this flag only works in version 3.002.102 and above) | |||
|} | |} | ||
<sup>1</sup> The [[AGIWiki/VB Logic Syntax|VB Syntax]] is supported by [[AGIWiki/WinAGI|WinAGI]] but not by [[AGIWiki/AGI Studio|AGI Studio]] | <sup>1</sup> The [[AGIWiki/VB Logic Syntax|VB Syntax]] is supported by [[AGIWiki/WinAGI|WinAGI]] but not by [[AGIWiki/AGI Studio|AGI Studio]] | ||
Line 109: | Line 115: | ||
== Data types == | == Data types == | ||
{{AGIWiki/Data types}} | |||
Latest revision as of 19:31, 23 February 2016
Some flags have special meaning to the interpreter:
1 The VB Syntax is supported by WinAGI but not by AGI Studio
2 In older versions of the AGI Studio Template Game, input_received
was misspelled as input_recieved
.
See Also
Sources
- AGI Studio help file