Difference between revisions of "Location keyword"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (fix a typo) |
m (fixing persistence) |
||
Line 21: | Line 21: | ||
The following functions allow a location to exist outside of the scope of the current script by storing it on an object or event: | The following functions allow a location to exist outside of the scope of the current script by storing it on an object or event: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
* [[SetLocalLocation]] | * [[SetLocalLocation]] | ||
* [[SetEventLocation]] | * [[SetEventLocation]] | ||
+ | |||
+ | The following functions allow a location which exists outside of the scope of the current script to be used in the current script by retrieving it from an object or event: | ||
+ | |||
+ | * [[GetLocalLocation]] | ||
+ | * [[GetEventLocation]] | ||
<!-- == Special == --> | <!-- == Special == --> |
Revision as of 05:29, 1 August 2009
The location type is a structure which consists of three members: an area object, a position vector and a facing float.
Constructor
A constructor is a function that creates an instance of a dascript type.
The constructor for a location is Location
Literals
A literal is a textual representation of a particular value of a type.
There is no literal for a location.
Conversion
There is no explicit or implicit conversion to or from a location.
Persistence
The following functions allow a location to exist outside of the scope of the current script by storing it on an object or event:
The following functions allow a location which exists outside of the scope of the current script to be used in the current script by retrieving it from an object or event: