Difference between revisions of "Event Functions"

From ADRIFT 5 Manual Wiki
Jump to: navigation, search
m (Link)
m (simplified overly complex terminology)
Line 1: Line 1:
There is no reference for events, so you must give the [[key]] of the event followed by a dot to bring up the intellisense menu.
+
There is no reference for events, so you must give the [[key]] of the event followed by a dot to bring up the function list.
  
 
[[File:FunctionsEvent.jpg]]
 
[[File:FunctionsEvent.jpg]]

Revision as of 12:26, 7 August 2013

There is no reference for events, so you must give the key of the event followed by a dot to bring up the function list.

FunctionsEvent.jpg

Alternately, you can drag an Event and drop it onto a text box:

DragEvent.jpg

There are only two functions for events, both of which return integer values:

  • Length - The total number of turns in the event.
  • Position - The current position of the event (number of turns elapsed since it started).


<<< Short Location DescriptionItem functionsList Functions >>>