PDA

View Full Version : [request]


m4rk
09.10.2006, 16:27
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

Luno
09.10.2006, 21:31
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


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

m4rk
09.10.2006, 22:24
Thank you a lot! changed it to 300secs :D

<3 for Luno!