Difference between revisions of "Action System"

From The Official Visionaire Studio: Adventure Game Engine Wiki
Line 11: Line 11:
 
! style="border-bottom: 1px dashed grey" | Type !! style="border-bottom: 1px dashed grey" | Description !! style="border-bottom: 1px dashed grey" | Available Location(s)
 
! style="border-bottom: 1px dashed grey" | Type !! style="border-bottom: 1px dashed grey" | Description !! style="border-bottom: 1px dashed grey" | Available Location(s)
 
|-
 
|-
| '''Executed command on object''' || actions will only be performed if the current character reaches the object destination & if the object executed command is listed inside of the objects actions. || scene objects, characters
+
| '''Executed command on object''' || actions will only be performed if the current character reaches the object destination & if the ''executed command'' is listed inside of the object actions. || scene objects, characters
 
|-
 
|-
| '''Item dropped''' || actions will only be executed if the current character reaches the object destination & the dropped item is listed inside of the object actions.  || scene objects, characters
+
| '''Item dropped''' || actions will only be executed if the current character reaches the object destination & the ''dropped item'' action is listed inside of the object actions.  || scene objects, characters
 
|-
 
|-
| '''Double click''' || actions will only be executed if the current character reaches the object destination & the double click action is listed inside of the object actions. || scene objects, characters
+
| '''Double click''' || actions will only be executed if the current character reaches the object destination & the ''double click'' action is listed inside of the object actions. || scene objects, characters
 
|-
 
|-
| '''Button hold''' || actions will only be executed if the current character reaches the object destination & the button hold action is listed inside of the object actions; see [[Game_Tab#Mouse_Properties|mouse properties]]. || scene objects, characters
+
| '''Button hold''' || actions will only be executed if the current character reaches the object destination & the ''button hold'' action is listed inside of the object actions; see [[Game_Tab#Mouse_Properties|mouse properties]]. || scene objects, characters
 
|-
 
|-
| '''Right click''' || actions will only be executed if the current character reaches the object destination & the right click action is listed inside of the object actions. || scene objects, characters
+
| '''Right click''' || actions will only be executed if the current character reaches the object destination & the ''right click'' action is listed inside of the object actions. || scene objects, characters
 +
|}
 +
 
 +
 
 +
 
 +
=== Immediate execution ===
 +
{| class="tbl-ds"
 +
|- align="left"
 +
! style="border-bottom: 1px dashed grey" | Type !! style="border-bottom: 1px dashed grey" | Description !! style="border-bottom: 1px dashed grey" | Available Location(s)
 +
|-
 +
| '''Executed command on object''' || actions will be executed immediately if the ''executed command (immediate)'' is listed inside of the objects actions. || all
 +
|-
 +
| '''Item dropped''' || actions will be executed immediately if the ''dropped item (immediate)'' action is listed inside of the object actions.  || all
 +
|-
 +
| '''Double click''' || actions will only be executed if the current character reaches the object destination & the ''double click'' action is listed inside of the object actions. || all
 +
|-
 +
| '''Button hold''' || actions will only be executed if the current character reaches the object destination & the ''button hold'' action is listed inside of the object actions; see [[Game_Tab#Mouse_Properties|mouse properties]]. || all
 +
|-
 +
| '''Right click''' || actions will only be executed if the current character reaches the object destination & the ''right click'' action is listed inside of the object actions. || all
 +
|-
 +
| '''Cursor enters object area''' || actions will be executed when the mouse cursor enters the object area; providing the ''on cursor enters'' action is listed in the objects actions. || all
 +
|-
 +
| '''Cursor leaves object area''' || actions will be executed when the mouse cursor leaves the object area; providing the ''on cursor leaves'' action is listed in the objects actions. || all
 +
|-
 +
| '''Called by other action''' || this action is not directly associated with the object & can be called at any time via the '''call/quit action''' action part. | all
 
|}
 
|}

Revision as of 16:27, 5 April 2014

The action system is what we use to create the various actions & events that will be performed during the game on characters, self, scene objects, & items. The available action parts may vary depending on where the action is created; scene, scene object, character, item, interface, interface button, game etc.


Action Types

Here is a list of available action types, a description & where they can be found.


Execution at destination

Type Description Available Location(s)
Executed command on object actions will only be performed if the current character reaches the object destination & if the executed command is listed inside of the object actions. scene objects, characters
Item dropped actions will only be executed if the current character reaches the object destination & the dropped item action is listed inside of the object actions. scene objects, characters
Double click actions will only be executed if the current character reaches the object destination & the double click action is listed inside of the object actions. scene objects, characters
Button hold actions will only be executed if the current character reaches the object destination & the button hold action is listed inside of the object actions; see mouse properties. scene objects, characters
Right click actions will only be executed if the current character reaches the object destination & the right click action is listed inside of the object actions. scene objects, characters


Immediate execution

Type Description Available Location(s)
Executed command on object actions will be executed immediately if the executed command (immediate) is listed inside of the objects actions. all
Item dropped actions will be executed immediately if the dropped item (immediate) action is listed inside of the object actions. all
Double click actions will only be executed if the current character reaches the object destination & the double click action is listed inside of the object actions. all
Button hold actions will only be executed if the current character reaches the object destination & the button hold action is listed inside of the object actions; see mouse properties. all
Right click actions will only be executed if the current character reaches the object destination & the right click action is listed inside of the object actions. all
Cursor enters object area actions will be executed when the mouse cursor enters the object area; providing the on cursor enters action is listed in the objects actions. all
Cursor leaves object area actions will be executed when the mouse cursor leaves the object area; providing the on cursor leaves action is listed in the objects actions. all
Called by other action all