SetFacing
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.
Sets the direction an object is facing.
- Parameters:
- oTarget
- The Object to set the facing direction of
- fFacing
- The direction the object will face
- bMirrorYAxis
- [Undocumented]
- Returns:
- Nothing.
- Source:
- script.ldf
Description
Sets the direction the object oTarget is currently facing in degrees. The direction an object is facing is expressed as an incrementing clockwise degree value starting from the south. Related constants are: DIRECTION_NORTH, DIRECTION_EAST, DIRECTION_SOUTH and DIRECTION_WEST.
Remarks
If the specified object is invalid or does not have an orientation then the function will fail.
See also
GetFacing, SetFacingPosition, SetFacingObject, SetOrientation, GetOrientation