StartAction

From The Official Visionaire Studio: Adventure Game Engine Wiki
Revision as of 20:51, 6 March 2013 by AFRLme (talk) (Created page with "<div class="toccolours mw-collapsible mw-collapsed" style="background: #f0f0f0; border: 1px dashed darkgrey" width="100%"> <b>Command History</b> <div class="mw-collapsible-co...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Command History

Available since v3.7


Allows you to start any "called by other action" you include!

Syntax:

startAction(action)

Example:

startAction([getObject("Actions[action_name]")])

-- you can of course use variables with actions stored in them instead!
local act = getObject("Actions[action_name]")
startAction(act)


Arguments

action: link
The link to the action to be started! ("path|"object_id"|"action_name")

Flags: none

Return: visionaireObject
The visionaire object representing the active action!