Skip to content

[Bug] misc_model inconsistent state management #8

@dumptruckDS

Description

@dumptruckDS

From Inky November 26, 2022 - dumptruckDS/progs_dump_qc#196

Pd3's estate status property is messed up with misc_model's state property. Animations meant to be in awaiting state could therefore be run ahead of time.
Could be experienced with a misc_model spawnflagged as 'Only once' and 'Start hidden'. The settings are handled in .state whereas the think function checks .estate only. So .state is basically ignored and the animation is run right away while the model is still initially invisible (due to 'Start hidden'). At the time the model is triggered to appear, it's stuck on its last frame since the animation was run already (and will never be run again due to 'Only once'). The expected behavior would be of course that the one-shot animation starts upon model appearance.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions