Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 09.10.2006, 16:27   #1
m4rk
Архивный участник
 
Join Date: Jan 2006
Posts: 607
Default [request]

Hello, I wanted to know if you could help me out increase the time between each say function in the orators.... it's quite annoying and I can't seem to understand how the timer works...

Thanks for reading
m4rk is offline  
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  
Old 09.10.2006, 22:24   #3
m4rk
Архивный участник
 
Join Date: Jan 2006
Posts: 607
Default

Thank you a lot! changed it to 300secs

<3 for Luno!
m4rk is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 21:36.