GPC Toggle Between Two Scripts
3 posts
• Page 1 of 1
GPC Toggle Between Two Scripts
What would be the best way to execute this?
Been waiting to make something like this for a while but can't find the best way, Any help or examples would be nice.
So lets say I have 2 combos made [ "Script 1 & Script 2" ]
Script 1 is always TRUE / ON and Script 2 is always FALSE / OFF till I press a button and Script 1 is FALSE and Script 2 is TRUE and vice versa
Do note I'm new to GPC.
I've been messing with it for the past few days and no luck of getting it to run.
if(get_val("BUTTON ONE"))
{
if(event_press("BUTTON TWO"))
}
combo Script 1
{
}
combo Script 2
{
}
This is my main example and I could use some help
I have more for testing but they don't work lol
Been waiting to make something like this for a while but can't find the best way, Any help or examples would be nice.
So lets say I have 2 combos made [ "Script 1 & Script 2" ]
Script 1 is always TRUE / ON and Script 2 is always FALSE / OFF till I press a button and Script 1 is FALSE and Script 2 is TRUE and vice versa
Do note I'm new to GPC.
I've been messing with it for the past few days and no luck of getting it to run.
if(get_val("BUTTON ONE"))
{
if(event_press("BUTTON TWO"))
}
combo Script 1
{
}
combo Script 2
{
}
This is my main example and I could use some help
I have more for testing but they don't work lol
-
Reberbal - Private First Class
- Posts: 2
- Joined: Mon Jul 15, 2019 12:32 am
Re: GPC Toggle Between Two Scripts
The best way to explain would be cycle between options so like "No Scripts, Script 1, Script 2"
-
Reberbal - Private First Class
- Posts: 2
- Joined: Mon Jul 15, 2019 12:32 am
Re: GPC Toggle Between Two Scripts
Sorted on Discord
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
- Mad
- Major General
- Posts: 4536
- Joined: Wed May 22, 2019 5:39 am
3 posts
• Page 1 of 1
Return to GPC1 Script Programming
Who is online
Users browsing this forum: No registered users and 87 guests