When my players quit, I want them to have a little bit of a wait time because they are setting up camp. this also allows if they have a mob hunting them, they can't just log off for awhile. nothing too long, but still need it. i couldn't get this wait state to work. it never did anything. anyone know what i'm doing wrong?
send_to_char ("^CYou search around for a safe place to camp.^w\n\r", ch);
WAIT_STATE( ch, 4 * PULSE_TICK);
send_to_char ("^GYou complete your campsite.^w\n\r", ch);
i've also tried this to see if anything was working:
WAIT_STATE( ch, 3000 );
send_to_char ("^CYou search around for a safe place to camp.^w\n\r", ch);
WAIT_STATE( ch, 4 * PULSE_VIOLENCE);
send_to_char ("^GYou complete your campsite.^w\n\r", ch);
[/CODE]
any thoughts?
|