Script Request Limit value input

GPC1 script programming for Titan One. Code examples, questions, requests.

Script Request Limit value input

Postby hman37 » Tue Jun 22, 2021 6:22 am

Is it possible to make a script that limits the amount of input when pressing a button down?

For example, PS4 script if I hold L2 button down so value should be 100+ but the script will limit the value to +70.
User avatar
hman37
Private
Private
 
Posts: 1
Joined: Tue Jun 22, 2021 6:15 am

Re: Script Request Limit value input

Postby Mad » Tue Jun 22, 2021 6:53 am

:smile0201:
Code: Select all
main {
    if(get_val(PS4_L2)) set_val(PS4_L2, 70);
}
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord (2K / FPS)
Mad
Major General
Major General
 
Posts: 4532
Joined: Wed May 22, 2019 5:39 am


Return to GPC1 Script Programming

Who is online

Users browsing this forum: No registered users and 93 guests

cron