View Full Version : One Button for many actions
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 ;)
l2walker -> run script *j/k*
While cycle in ai, but it so hard.
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
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