Classes:AimingCamera
Jump to navigation
Jump to search
Note: Wait! Stop! You do not need to copy this actor's code into your project! Here's why:
|
Aiming camera | |||
---|---|---|---|
Actor type | Script thing | Game | (ZDoom) |
DoomEd Number | 9073 | Class Name | AimingCamera |
Classes: SecurityCamera→AimingCamera
The AimingCamera is another ZDoom camera similar to the SecurityCamera. However, this camera will aim at and follow a target.
The camera is activated by using the ChangeCamera (237) special or by a SetCameraToTexture in ACS.
Arguments
The aiming camera takes four arguments:
- args[0] → pitch of camera in degrees, equal to the angle subtracted from 256.
- args[1] → maximum number of degrees to yaw (rotate side to side) per second.
- args[2] → maximum number of degrees to pitch (rotate up and down) per second.
- args[3] → tid of thing to follow.
DECORATE definition
ACTOR AimingCamera : SecurityCamera native {}
Categories:
- Chex Quest actors
- Chex Quest script things
- Chex Quest 3 actors
- Chex Quest 3 script things
- Doom actors
- Doom script things
- Doom II actors
- Doom II script things
- Heretic actors
- Heretic script things
- Hexen actors
- Hexen script things
- Strife actors
- Strife script things
- ZDoom actors
- ZDoom script things
- Script thing
- Special ZDoom things