Open stolsky opened 2 years ago
<command> = <operation> <parameter>
<operation> <parameter1> <parameter2>
TEXT <dictionaryID1+dictionaryID2>
TEXT <dictionaryID>
CHAR <dictionaryID>
STYLE <styleID>
<objectID> <number>
<flagID> <value>
INFO <objectID> <dictionaryID>
LOST <dictionaryID>
SHOW <objectID>
HIDE <objectID>
INCRIGHT <objectID>
INCLEFT <objectID>
TAKE <personID> <itemID>
ENTER <sceneID>
DIALOG <dialogID>
<condition>:<command>
<condition> = <identifier> <value>
Adventure Game Instructions Language (AGIL)
Commands
<command> = <operation> <parameter>
or<operation> <parameter1> <parameter2>
TEXT <dictionaryID1+dictionaryID2>
TEXT <dictionaryID>
- display text inside the current state`s uiCHAR <dictionaryID>
- sets the narrator for the text if requiredSTYLE <styleID>
- sets a specified style to the displayed text<objectID> <number>
<flagID> <value>
, value = string | number | booleanINFO <objectID> <dictionaryID>
- change the information attribute of the objectLOST <dictionaryID>
- open game over screen with a description associated with the dictionaryIDSHOW <objectID>
- display objectHIDE <objectID>
- remove from visuals objectINCRIGHT <objectID>
- increment index of the right action stackINCLEFT <objectID>
- increment index of the left action stackTAKE <personID> <itemID>
- add a item to the inventory of the character associated with the personIDENTER <sceneID>
- move the active character from one scene to anotherDIALOG <dialogID>
- start dialog with the associated idconditions
<condition>:<command>
<condition> = <identifier> <value>
how to initialize an object