PDA

View Full Version : One Button for many actions


Fot@r@s
13.07.2007, 08:34
Hey guyz, i was thinking if i can make a button which can make more than 1 action. for example in clan halls i want to push one button and do all buffs for fighters. If you have any ideas or any tutorial post it ;)

madar
13.07.2007, 09:33
l2walker -> run script *j/k*

Forcer
13.07.2007, 09:41
While cycle in ai, but it so hard.

Kation
13.07.2007, 18:48
it's not so hard in ai... just copy + paste with different skill_id from skill_pch.txt and link it in htm.

push_event
push_const 704 // myself
add
fetch_i
push_event
push_const 40 // talker
add
fetch_i
push_const 273411 //put here skill id in ex. it's id for Might lvl 3
push_const 1
push_const 0
push_const 1000000
func_call 184877074 // func[AddUseSkillDesire]
shift_sp -5
shift_sp -1

Fot@r@s
14.07.2007, 12:05
it's not so hard in ai... just copy + paste with different skill_id from skill_pch.txt and link it in htm.

push_event
push_const 704 // myself
add
fetch_i
push_event
push_const 40 // talker
add
fetch_i
push_const 273411 //put here skill id in ex. it's id for Might lvl 3
push_const 1
push_const 0
push_const 1000000
func_call 184877074 // func[AddUseSkillDesire]
shift_sp -5
shift_sp -1


If i have understand right :
push_const 273411 //put here skill id in ex. it's id for Might lvl 3
push_const 1
push_const 0
push_const 1000000

I put the buffs ... from skillpch ?

thx for the info