Need help bad if someone doesn’t mind something simple
2 posts
• Page 1 of 1
Need help bad if someone doesn’t mind something simple
Looking for a simple script for PS4 just need the 4 buttons cross triangle square and circle wanna be able to hold and release at a certain time but I wanna be able to adjust it I have no idea what I’m doing I had the old Titan one with the visual script
-
usacougar23 - Private First Class
- Posts: 2
- Joined: Thu Dec 17, 2015 12:02 am
Re: Need help bad if someone doesn’t mind something simple
Like this?
Or did you mean hold all 4 buttons at the same time?
- Code: Select all
#include <ps4.gph>
#define CROSS_HOLD_TIME 60
#define TRIANGLE_HOLD_TIME 60
#define SQUARE_HOLD_TIME 60
#define CIRCLE_HOLD_TIME 60
main {
if(event_active(PS4_CROSS)) combo_run(cross);
if(event_active(PS4_TRIANGLE)) combo_run(triangle);
if(event_active(PS4_SQUARE)) combo_run(square);
if(event_active(PS4_CIRCLE)) combo_run(circle);
}
combo cross {
set_val(PS4_CROSS, 100);
wait(CROSS_HOLD_TIME);
set_val(PS4_CROSS, 0);
wait(60);
}
combo triangle {
set_val(PS4_TRIANGLE, 100);
wait(TRIANGLE_HOLD_TIME);
set_val(PS4_TRIANGLE, 0);
wait(60);
}
combo square {
set_val(PS4_SQUARE, 100);
wait(SQUARE_HOLD_TIME);
set_val(PS4_SQUARE, 0);
wait(60);
}
combo circle {
set_val(PS4_CIRCLE, 100);
wait(CIRCLE_HOLD_TIME);
set_val(PS4_CIRCLE, 0);
wait(60);
}
Or did you mean hold all 4 buttons at the same time?
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord (2K / FPS)
- Mad
- Major General
- Posts: 4533
- Joined: Wed May 22, 2019 5:39 am
2 posts
• Page 1 of 1
Return to GPC2 Script Programming
Who is online
Users browsing this forum: No registered users and 106 guests