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 ...") |
m (bypass redirect) |
||
(4 intermediate revisions by the same user not shown) | |||
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 | + | 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]] | ||
+ | |||
+ | Alternately, you can [[Text_Boxes#Drag_and_Drop|drag]] an [[Events|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: | ||
Line 8: | Line 12: | ||
− | <TABLE ALIGN=CENTER BORDER=1 WIDTH="50%"><TD WIDTH="33%" ALIGN=CENTER>[[%location%.ShortLocationDescription function|<<< Short Location Description]]</TD><TD WIDTH="34%" ALIGN=CENTER>[[ | + | <TABLE ALIGN=CENTER BORDER=1 WIDTH="50%"><TD WIDTH="33%" ALIGN=CENTER>[[%location%.ShortLocationDescription function|<<< Short Location Description]]</TD><TD WIDTH="34%" ALIGN=CENTER>[[Item functions]]</TD><TD ALIGN=CENTER>[[Group Functions|Group Functions >>>]]</TD></TABLE> |
[[Category:Functions]] | [[Category:Functions]] |
Latest revision as of 09:10, 3 September 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.
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 | Item functions | Group Functions >>> |