ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:hudsetcameraactor

This is an old revision of the document!


HudSetCameraActor

void HudSetCameraActor(int tid)

This is a HUD Library function.

Description

Sets camera position and direction to match those of the specified actor.

See HudSetCameraActorAdvanced for what tweaks this function performs.

Examples

while (IsPlaying())
{
    HudResetState();
    HudSetCameraActor(0);
    Draw3DStuff();
}
functions/hudsetcameraactor.1492442508.txt.gz · Last modified: 2017/04/17 18:21 by korshun