ID:179165
 
Ok I don't want to use Deadron's Event lib, nothing against it I just want to use my own code. I'm wanting to add some mobs to Kemet now and not sure how to start them?? Also how to assign my For loop that will generate processes for them to do and check more. Basically I need a simple get me started from New() state machine for my Mobs

LJR
mob
var
LAG_TIME = 5 //how often it will update
New()
thing = 1
alive = 1
spawn() mob_cycle() //start cycle
proc
mob_cycle()
dostuff() //do updates
check_stuff()
spawn(LAG_TIME) mob_cycle() //do update again