Search results

From AGI Wiki
Jump to navigationJump to search
  • ...have a color other than black or white, a workaround, using a single space message and the '''[[display.v]]''' command, is demonstrated in the example below. AGI does not validate the argument values, so if either row argument is > 24, o
    3 KB (431 words) - 18:41, 25 March 2019
  • Use the following links for helpful information about the AGI logic scripting language. ** [[Message|Messages]]
    1 KB (119 words) - 13:58, 30 January 2024
  • get.num([[message|msg]] mPROMPT, [[variable|var]] vB);<br /> ...on, the '''get.num''' function uses the [[input line]], substituting the [[message]] '''mPROMPT''' as the [[input prompt]] and using the existing [[cursor]] c
    2 KB (328 words) - 21:00, 1 April 2019
  • ...ter to load it using the '''[[load.logics]]''' command. This avoids having AGI continually load and unload the same logic over and over. If the logic does not exist, AGI will display a 'resource not found' message, and immediately quit.
    1 KB (189 words) - 11:48, 14 April 2019
  • get.string([[string|str]] sA, [[message|msg]] mPROMPT, [[number|byt]] ROW, [[number|byt]] COL, [[number|byt]] LEN); ...using the existing [[input line]] like the '''[[get.num]]''' command does. Message '''mPROMPT''' is used as the prompt, which is displayed at text column '''C
    4 KB (609 words) - 15:45, 7 April 2019
  • ...ng to help manage [[memory]] usage. When called, '''show.mem''' displays a message box that shows the following memory usage statistics: <syntaxhighlight lang="agi">
    1 KB (195 words) - 21:53, 21 April 2019
  • ...r to load it using the '''[[load.logics.v]]''' command. This avoids having AGI continually load and unload the same logic over and over. If the logic does not exist, AGI will display a 'resource not found' message, and immediately quit.
    1 KB (197 words) - 11:49, 14 April 2019
  • set.game.id([[message|msg]] mGAMEID);<br /> ...is embedded within the main interpreter file. If the values do not match, AGI quits without any warning. This was done presumably to make sure the games
    2 KB (246 words) - 09:00, 21 April 2019
  • ...it. If [[reserved flags|reserved flag]] [[f16 (auto restart)]] is FALSE, a message box is displayed asking the player to confirm the restart. If f16 is TRUE, ...heap]] is cleared (which unloads all [[resources]]) and the [[OBJECT File (AGI)|OBJECT]] file is reloaded. The [[screen object]] table is reset, all [[var
    1 KB (230 words) - 20:39, 19 April 2019
  • ...econd word, etc.) However, when using the [[message special format code]], AGI treats '%w1' as the first word. ...he player only entered two words, and you use 'w3' as the argument value), AGI will read invalid data, resulting in meaningless output.
    2 KB (300 words) - 19:59, 24 April 2019
  • This command sets the foreground and background [[colors]] used by AGI to display text with the '''[[display]]''' or '''[[display.v]]''' commands ...und and foreground. If the background color is any value other than black, AGI uses white as the background, and draws text with black foreground (ignorin
    6 KB (862 words) - 20:53, 21 April 2019
  • ...error messages, but you could use it to define your own special-case error message code (to help with debugging). ...is bigger than 0 (which it will be if there's an error) it calls the error message logic.<br />
    10 KB (1,724 words) - 13:57, 30 January 2024
  • When the '''set.scan.start''' command is executed, AGI stores the current script position of the running [[logic]] in a [[scan sta ...end of that section, the '''set.scan.start''' command can be used to make AGI skip over the initialization section on subsequent iterations.
    2 KB (269 words) - 19:43, 21 April 2019
  • When the '''reset.scan.start''' command is executed, AGI resets the [[scan start table]] so subsequent calls to this logic will agai In the following example, you will only see the first message one time. After that, the logic begins execution at the second print statem
    2 KB (248 words) - 19:55, 19 April 2019
  • ...(invalid word number)]] is assigned the sequence number of the word in the message that failed to match and the processing ends. ...ignored and the '''parse''' command exits without doing anything. Also, in AGI [[versions]] that allocate space for 24 strings, only the first 12 strings
    2 KB (235 words) - 06:59, 15 April 2019
  • ...m DOS, you can use SavePic. <!-- All of the files can be obtained from the AGI Utilities Page. --> AGI256 is a patch for AGI created by dark minister to modify AGI so that it can use 256 colors. To use this, you will need to create the pic
    3 KB (409 words) - 12:32, 24 March 2019
  • set.menu.item([[message|msg]] mA, [[controllers|ctl]] cB);<br /> In AGI menus are the displayed along the top of the [[menu bar]], and each menu ma
    2 KB (365 words) - 14:37, 21 April 2019
  • set.menu([[message|msg]] mA);<br /> In AGI menus are the displayed along the top of the [[menu bar]], and each menu ma
    3 KB (414 words) - 14:15, 21 April 2019
  • ...preter was unable to allocate a reasonably sized heap for your game. This message probably doesn't mean much to people these days, but if you get it, you mig ...It also mentions how to patch the interpreter to increase the stack. See "AGI Stack Overflow Information".<br />
    9 KB (1,557 words) - 14:17, 22 March 2019
  • [[AGI Sound Tutorial|AGI Sound Tutorial Index]] [[AGI Sound Tutorial - Introduction|1]] |
    5 KB (715 words) - 13:57, 30 January 2024

View (previous 20 | next 20) (20 | 50 | 100 | 250 | 500)