Difference between revisions of "SetLocation"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (1 revision: Importing auto-generated function articles) |
BryanDerksen (Talk | contribs) (looks okay, removing tag) |
||
Line 1: | Line 1: | ||
− | |||
{{dafunction | {{dafunction | ||
|name=SetLocation | |name=SetLocation |
Latest revision as of 00:53, 27 February 2010
Sets the location of the specified object.
- Parameters:
- oObject
- the object to set the location of
- lLocation
- the location to set the object to
- Returns:
- Nothing.
- Source:
- script.ldf
Description
This function sets the location of the specified object. If another area is specified, the object will be moved. However it should be noted that moving an object in this manner is inherently unsafe as the target location might not be a "safe" location.
Remarks
Moving an object to another area via this function should probably be discouraged. Use of the JumpToPoint or JumpToObject commands would be much safer.