Re:The Outer Worlds: Fixing the “game thinks my companion is...
by int_19h on Sunday December 15, 2019 @03:36AM
(#21795165)
Games usually have state machines as well, but you can't have a single state machine for the whole world. So it ends up being a state machine per actor, usually - and every actor can potentially interact with most other actors.
It’s very hard especially if functionality gets added mid process (the companion can die now).
I had a piece of code log (“you should never get here”) once before crashing. Some programmer long gone put a constraint check with that strange note.