#Confused on state maneger

1 messages · Page 1 of 1 (latest)

shadow scarab
#

So im tryna do a state maneger rn I js wana see how some of you do it with like a value system where if curent state has less value then the requested state then aprove it but idk i wanna see and maybe learn on diferent ways to make them please dont send like full scriots and all just a simple sumary or description of it

gaunt nimbus
#

the simplest state machine is a single variable. you've probably used them before. you may know it as a debounce. debounce is a tiny state machine.

cinder rapids
#

Uhhh

#

to be honest

#

i've never actually attempted something like this

#

however im pretty sure the state manager is like a module, which has a table of mere strings

#

or something

#

And so every single NPC or player object would have a StringValue

#

more or less

#

i don't really know what im talking about

#

there should be an insane amount of videos on how they work