Thread: [request]
View Single Post
Old 09.10.2006, 21:31   #2
Luno
Архивный участник
 
Join Date: Sep 2006
Posts: 15
Default

AddTimerEx has two parameters:
- timer id
- time in miliseconds

When time left, then

TIMER_FIRED_EX handler is called with timer_id

For example for ssq_npc_orator_of_revelations timer that responses for delay between say function has id = 5097 after spawn time is set to 60 sec

in TIMER_FIRED_EX for that class you can find checks for that timer id and if true, then random chose string to say, next timer 5097 is being set again

Code:
L24675
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_const 5097
	push_const 60
	push_const 1000
	mul
	func_call 184680487	//  func[AddTimerEx]
Just change it from 60 secs to anything you uwant
Luno is offline