ChangeActorAngle
From Eternity Wiki
Jump to navigationJump to search
Description
This is an ACS built-in function.
Changes angle of tagged things to given value.
Usage
void ChangeActorAngle(int tid, fixed angle, bool interpolate = FALSE)
Parameters
- tid: TID of things whose angle to set.
- angle: fixed point angle to set to.
- interpolate: optional boolean argument on whether to interpolate the angle rotation. By default it's FALSE, which means instant angle change, while TRUE is the common behavior of smoothing the rotation. This is normally only visible if the controlling player is the target thing, because monsters use sprites with few discrete rotation frames.
Return value
None.
Examples
No examples given.
Notes
This is the same as SetActorAngle, but with the interpolate argument added, which is set to FALSE by default.
This function's identification in zspecial.acs
is: -79.