Difference between revisions of "Event Functions"
From ADRIFT 5 Manual Wiki
m (s) |
m (Link) |
||
Line 12: | 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>[[List Functions|List Functions >>>]]</TD></TABLE> |
[[Category:Functions]] | [[Category:Functions]] |
Revision as of 06:47, 4 March 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 | Item functions | List Functions >>> |