#Opinion on state system

1 messages · Page 1 of 1 (latest)

tender bridge
#

Whats your method on doing states bcs im 99% sure the way im doing it isnt needed.

I currently have one server script in each player that when any attribute is changed on the character, will grab the function from the state's module script and do it. Some states dont have a module script so nothing happens anyways

Ive been poking around the forums for a good way and I dont see any actual answers, so I thought i'd ask you guys

steady thorn
#

2 stunned

teal panther
tender bridge
#

which reminds me actually

teal panther
tender bridge
#

a module script that creates a table for each character passed on

#

and then does it

#

this means that it uses less server scripts

#

and no conncetions

teal panther
#

yeah thats exactly what OOP is 😭

slow siren
#

you could probably use a statehandler module script but attributes work asw

tender bridge
#

only problem im stuck on is

#

im testing it out with a burn status effect

#

and i want it to reset every time is applied

#

but task.delay wont work for that

#

oswjfkjewwfw