Skip to content
Haru edited this page Oct 19, 2016 · 1 revision

Table of Contents

Syntax

  • stopnpctimer {<attach></attach>};
  • stopnpctimer {""};
  • stopnpctimer {""{, <attach></attach>}};

Description

This script command acts as a partner to the initnpctimer and startnpctimer script commands. When called, it will stop any active NPC timer from ticking but will not reset the tick value to 0. When startnpctimer is called after this command, the timer will resume from the tick that it was stopped at.

Syntax

See initnpctimer.

Examples

  • Stop an NPC timer after 30 seconds of processing.
 [[OnTimer|OnTimer]]30000:
     [[Announce|announce]] "30 seconds has expired.", bc_all|bc_npc;
     stopnpctimer;
     end;

Category:Script Command

Clone this wiki locally