Quote:
Originally posted by Tyhm
In whatever you people use for timeout loops now:
NPC Code:
if (created||timeout) {
if(strequals(#m,idle)) this.idle++;
else this.idle=0;
if(this.idle>60) setcharani bored,;
timeout = 0.05;
}
|
I used a code similar to that one for an offline unstick me NPC

.