Event Functions

From ADRIFT 5 Manual Wiki
Revision as of 04:39, 15 February 2013 by Saabie (Talk | contribs) (s)

Jump to: navigation, search

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.

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 DescriptionObject-oriented functionsList Functions >>>