GetActorAngle: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
(Created page with "{{ACSFunction|description=Gets a thing's current facing angle, in byte angle. |usage=''fixed'' '''GetActorAngle(''int tid'') |parameters= *''tid'': TID of thing to check |return= The byte angle of thing's facing. |id=(ACC internal)}}")
 
No edit summary
 
Line 1: Line 1:
{{ACSFunction|description=Gets a thing's current facing angle, in [[byte angle]].
{{ACSFunction|description=Gets a thing's current facing angle, in [[fixed point angle]].
|usage=''fixed'' '''GetActorAngle(''int tid'')
|usage=''fixed'' '''GetActorAngle(''int tid'')
|parameters=
|parameters=
*''tid'': [[TID]] of thing to check
*''tid'': [[TID]] of thing to check
|return=
|return=
The [[byte angle]] of thing's facing.
The [[fixed point angle]] of thing's facing, or 0 if no such tagged thing exists.
|id=(ACC internal)}}
|id=(ACC internal)}}

Latest revision as of 11:38, 26 July 2024

Description[edit]

This is an ACS built-in function.

Gets a thing's current facing angle, in fixed point angle.

Usage[edit]

fixed GetActorAngle(int tid)

Parameters[edit]

  • tid: TID of thing to check

Return value[edit]

The fixed point angle of thing's facing, or 0 if no such tagged thing exists.

Examples[edit]

No examples given.

Notes[edit]

No particular notes.

This function's identification in zspecial.acs is: (ACC internal).

See also[edit]