Difference between revisions of "Parallaction/Scripts"

Jump to navigation Jump to search
107 bytes added ,  03:06, 23 January 2011
m
behaviour -> behavior
(Added some other location blocks.)
m (behaviour -> behavior)
 
(4 intermediate revisions by one other user not shown)
Line 48: Line 48:
|LABEL    ||Text to be displayed when mouse enters the area defined by LIMITS.
|LABEL    ||Text to be displayed when mouse enters the area defined by LIMITS.
|-
|-
|FLAGS    ||One or more among behaviour flags (*link needed*), separated by pipe character.
|FLAGS    ||One or more among behavior [[Parallaction/Scripts/Zone flags|flags]], separated by pipe character.
|-
|-
|COMMANDS ||List of commands to be executed when zone is activated.
|COMMANDS ||List of commands to be executed when zone is activated.
Line 54: Line 54:
|MOVETO  ||Specifies position (x, y) character is set to walk to when action is triggered on this zone.
|MOVETO  ||Specifies position (x, y) character is set to walk to when action is triggered on this zone.
|-
|-
|TYPE    ||Block defining special features of the zone (*link needed*).
|TYPE    ||Block defining special features of the zone. See [[Parallaction/Scripts/Zone types|here]].
|-
|-
|ENDZONE  ||Marks the end of Zone definition.
|ENDZONE  ||Marks the end of Zone definition.
Line 72: Line 72:
|LABEL    ||Text to be displayed when mouse enters the area occupied by the animation. Since animations can move, the area is computed on the fly.
|LABEL    ||Text to be displayed when mouse enters the area occupied by the animation. Since animations can move, the area is computed on the fly.
|-
|-
|FLAGS    ||One or more among behaviour flags (*link needed*), separated by pipe character.
|FLAGS    ||One or more among behavior [[Parallaction/Scripts/Zone flags|flags]], separated by pipe character.
|-
|-
|COMMANDS ||List of commands to be performed when execution of animation script (SCR) is over.
|COMMANDS ||List of commands to be performed when execution of animation script (SCR) is over.
Line 78: Line 78:
|MOVETO  ||Specifies position (x, y) character is set to walk to when action is triggered on this animation (usually a non-playing character).
|MOVETO  ||Specifies position (x, y) character is set to walk to when action is triggered on this animation (usually a non-playing character).
|-
|-
|TYPE    ||Block defining special features of the animation (*link needed*).
|TYPE    ||Block defining special features of the animation. See [[Parallaction/Scripts/Zone types|here]].
|-
|-
|ENDANIMATION  ||Marks the end of Animation definition.
|ENDANIMATION  ||Marks the end of Animation definition.
Line 114: Line 114:
|SPEAK      ||Schedules a dialogue for execution at the beginning of the next game loop.
|SPEAK      ||Schedules a dialogue for execution at the beginning of the next game loop.
|-
|-
|GET        ||Adds an item (Zone) to the inventory and removes it from screen, unless kFlagsFixed is set for the same Zone.
|GET        ||Adds an item to the inventory and removes corresponding Zone from screen, unless kFlagsFixed is set for the same Zone.
|-
|-
|DROP        ||Removes an item from inventory.
|DROP        ||Removes an item from inventory.
2,051

edits

Navigation menu