Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Темы без сохранившегося раздела (https://postpacific.mmorpg-game.online/forumdisplay.php?f=10001)
-   -   One Button for many actions (https://postpacific.mmorpg-game.online/showthread.php?t=8051)

Fot@r@s 13.07.2007 08:34

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 ;)

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.
Code:

        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

Quote:

Originally Posted by Kation (Post 91708)
it's not so hard in ai... just copy + paste with different skill_id from skill_pch.txt and link it in htm.
Code:

        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


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