Changing actor pitch on death?

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Posts: 3
Joined: Thu Jun 01, 2023 3:47 pm
Preferred Pronouns: It/Its
Operating System Version (Optional): Windows 10

Changing actor pitch on death?

Post by Durandoll »

I want to use A_SetPitch in the player death state so that when the player dies the camera tilts up as they fall. This sort of works, but the pre-defined movement seems to snap it back into facing forward awkwardly afterwards, is there any way to override that movement or disable it? I tried routing the death state into another that set pitch which didn't work either.

Return to “Scripting”