Requesting code for "toggle" for a combo
1 post
• Page 1 of 1
Requesting code for "toggle" for a combo
Hey
I'm hoping someone can write a line of code so I can add it to this combo - just wanting the ability to turn it on and off on the fly.
Maybe something like hold "RT and LT" for one second to toggle the combo on and off? Thank you for the help in advance
I'm hoping someone can write a line of code so I can add it to this combo - just wanting the ability to turn it on and off on the fly.
Maybe something like hold "RT and LT" for one second to toggle the combo on and off? Thank you for the help in advance
- Code: Select all
#pragma METAINFO("diablo-sorcerer", 1, 0, "<mad>")
#include <xb1.gph>
main {
if(event_active(XB1_A)) {
combo_run(AX);
}
}
combo AX {
set_val(XB1_A, 100);
set_val(XB1_RB, 100);
set_val(XB1_LT, 100);
wait(60);
}
-
dezert - First Sergeant
- Posts: 43
- Joined: Sun Apr 03, 2016 3:44 am
1 post
• Page 1 of 1
Return to GPC2 Script Programming
Who is online
Users browsing this forum: No registered users and 28 guests