Difference between revisions of "Event Functions"

From ADRIFT 5 Manual Wiki
Jump to: navigation, search
m (Link)
m (bypass redirect)
 
(One intermediate revision 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 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]]
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>[[Item functions]]</TD><TD ALIGN=CENTER>[[List Functions|List Functions >>>]]</TD></TABLE>
+
<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 08: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.

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 functionsGroup Functions >>>