Difference between revisions of "Event Functions"
From ADRIFT 5 Manual Wiki
(Created page with "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. File:FunctionsEvent.jpg There are only two ...") |
(drag & drop) |
||
Line 2: | Line 2: | ||
[[File:FunctionsEvent.jpg]] | [[File:FunctionsEvent.jpg]] | ||
+ | |||
+ | Alternately, you can [[Text_Boxes#Drag_and_Drop|drag]] an [[Event]] and drop it onto a [[Text_Boxes|text box]]: | ||
+ | |||
+ | [[File:DragEvent.jpg]] | ||
There are only two functions for events, both of which return integer values: | There are only two functions for events, both of which return integer values: |
Revision as of 05:28, 15 February 2013
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.
Alternately, you can drag an Event and drop it onto a text box:
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 Description | Object-oriented functions | List Functions >>> |