onfunction.AddFunction(0x55499D+offsets.base(),"Move")--on creature move found with "watch mem=xcoord"
onfunction.AddFunction(0x275933+offsets.base(),"Die",{creature="edi"})--on creature death? found by watching dead flag then stepping until new function