Character States
HeroBridge relies on Game Creator 2’s Change Model method when updating a character’s appearance. Because of this, there is a known limitation:
After a model change, any States the character was in are lost and not re-applied to the new model instance. To maintain consistent behavior, you’ll need to re-enter the character’s States after the model change.
This limitation is inherent to how Game Creator 2 handles model changes and occurs anytime the Change Model instruction is used, regardless of where it’s called from.
💡 Tip:
A workaround for this limitation is to store the character’s current state in local variables.
For example, you can create boolean variables such as:
StateIsRunningStateIsWalkingStateIsIdle
After the model change, use these stored variables to reapply the appropriate states to the character.
Last updated