Difference between revisions of "CommandMoveToObject"
(Generated by Sunjammer's Dragon Age Script Paser) |
BryanDerksen (Talk | contribs) m (1 revision: Importing auto-generated function articles) |
(No difference)
|
Revision as of 16:28, 29 July 2009
This page was generated by Sunjammer's Dragon Age Script Parser.
The parser was unable to extract and/or match all the information required and has flagged this page as containing one or more errors. The source file was not formatted correctly and the information presented is incomplete or incorrect.
This page must be reviewed by a knowledgeable scripter as it will need to be updated. Once identified, the issue in the source file should be reported to BioWare.
Please remove the {{Generated with errors}} tag once the page has been corrected.
This function is a move to object command constructor. The object executing the command will only use the position and disregard the target object orientation.
object oTarget,
int bRunToLocation,
float fMinRange,
int bUseOriginalPosition,
float fMaxRange
);
- Parameters:
- oTarget
- the object the command should move the creature to
- bRunToLocation
- specifies whether the object should run or not
- fMinRange
- The closest to the object we can be
- bUseOriginalPosition
- Even if the target is moving, use the original position
- fMaxRange
- [Undocumented]
- Returns:
- a valid command
- Source:
- script.ldf
Description
This function is a move to object command constructor. It creates a move to object command which can then be added to any object's command queue. This command, when processed will attempt to move the creature to target object.
Remarks
Only creatures can move, non-creature objects that have a move command assigned to them will fail the command when attempting to process it.