[Question] Setting a Cap on the R2 Button
4 posts
• Page 1 of 1
[Question] Setting a Cap on the R2 Button
Is it possible to put a cap on the R2 button? when you press the R2 button the value increases until you finally fully press it and the value stays at 100, All I want to do is change the cap limit from 100 to 1, I probably didn't explain this correctly, but if you have an example/idea, please post it here, thanks.
-
ShortEssay - Sergeant First Class
- Posts: 20
- Joined: Tue Apr 04, 2017 12:53 am
Re: [Question] Setting a Cap on the R2 Button
ShortEssay wrote:All I want to do is change the cap limit from 100 to 1
You mean the hair trigger mod?
- Code: Select all
if(get_val(PS4_R2) > 0) {
set_val(PS4_R2, 100);
}
Console tuner since my 1st controller.
Scripting, a game in the game.
Believe or dare, It's Titanic!
Scripting, a game in the game.
Believe or dare, It's Titanic!
-
Prototype - Major General
- Posts: 3251
- Joined: Sun Dec 16, 2012 1:43 pm
Re: [Question] Setting a Cap on the R2 Button
prototype wrote:ShortEssay wrote:All I want to do is change the cap limit from 100 to 1
You mean the hair trigger mod?
- Code: Select all
if(get_val(PS4_R2) > 0) {
set_val(PS4_R2, 100);
}
Not exactly what i was thinking, but I'm assuming what I am trying to achieve isn't possible anyways, thanks tho!
-
ShortEssay - Sergeant First Class
- Posts: 20
- Joined: Tue Apr 04, 2017 12:53 am
Re: [Question] Setting a Cap on the R2 Button
You can also do that:
- Code: Select all
if(get_val(PS4_R2) > 0) {
set_val(PS4_R2, 1);
}
Console tuner since my 1st controller.
Scripting, a game in the game.
Believe or dare, It's Titanic!
Scripting, a game in the game.
Believe or dare, It's Titanic!
-
Prototype - Major General
- Posts: 3251
- Joined: Sun Dec 16, 2012 1:43 pm
4 posts
• Page 1 of 1
Return to GPC1 Script Programming
Who is online
Users browsing this forum: Google [Bot] and 93 guests