wait () command in Titan Two...
13 posts
• Page 1 of 2 • 1, 2
wait () command in Titan Two...
Titan One's wait command peaks at 4000 ms. They can be stacked, but at the expense of bytecode.
What will be the limit on wait (or the equivalent command) on Titan Two?
What will be the limit on wait (or the equivalent command) on Titan Two?
Last edited by antithesis on Sat Aug 20, 2016 9:00 am, edited 1 time in total.
-
antithesis - Colonel
- Posts: 1912
- Joined: Sat May 28, 2016 10:45 pm
Re: wait () command in Titan Two...
Seen the info around here somewhere but can't find it. I believe there is no limit what was said. Take a look it is in here somewhere!
- bonefisher
- Lieutenant General
- Posts: 5413
- Joined: Thu Jan 29, 2015 10:49 am
Re: wait () command in Titan Two...
He states it here; http://www.consoletuner.com/forum/viewtopic.php?f=23&t=3417&p=27135&hilit=4000ms#p27135
"Titan Two is not limited to the 4000ms maximum for time measures
"Titan Two is not limited to the 4000ms maximum for time measures
- Playstation PS4, Astro A50 Gen 3, Elgato Game Capture HD60 S
- 2x Benq 27” Gaming Monitors, Netduma R1 Gaming Router
- Titan One/Two Controller Input Device, Battle Beaver PS4 Controller, SCUF Infinity4PS Controller
-
Vendetta - Sergeant Major of the Army
- Posts: 226
- Joined: Fri Jul 31, 2015 8:40 pm
Re: wait () command in Titan Two...
correct, the wait statement, on the new scripting language, can go from 1ms to 32767ms. A wide range that can cover any requirements.
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: wait () command in Titan Two...
J2Kbr wrote:correct, the wait statement, on the new scripting language, can go from 1ms to 32767ms. A wide range that can cover any requirements.
Thanks for the confirmation, I can definitely use 30 secs of that
Does it also apply to get_ptime () ?
Here's the reason I'm curious - viewtopic.php?f=6&t=4422&p=33034#p33034
To get this snippet to work, get_ptime (15000) would need to be possible. The follow-up event_press (CROUCH) could happen anywhere from 5 seconds to 15 seconds later, depending on manual or automatic respawn (Destiny sometimes checks for an available respawn location).
-
antithesis - Colonel
- Posts: 1912
- Joined: Sat May 28, 2016 10:45 pm
Re: wait () command in Titan Two...
I was actually just about to ask this question. 32767ms is heaps!
Setup: XIM Apex, T2, K780 keyboard, G Pro Wireless mouse, SteelSeries 4HD pad, DXRacer armrest, LucidSound LS30 headset, Netduma router, Ubiquiti UniFi AP LR
My R6 script: https://youtu.be/x-9NtxyySVM
My R6 script: https://youtu.be/x-9NtxyySVM
-
pablosscripts - Brigadier General
- Posts: 1976
- Joined: Tue Nov 24, 2015 6:27 am
Re: wait () command in Titan Two...
antithesis wrote:J2Kbr wrote:Does it also apply to get_ptime () ?
Not exactly. the equivalent to get_ptime on Titan Two is time_actived(), it returns a 32-bit unsigned int, which can measure the "activated time" from 0 to 4294967295ms, or 49 days.
Also, we have - for Titan Two - a new function called time_resting(), which measures for how long a button is in the resting position - here it can track up to 49 days too.
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: wait () command in Titan Two...
49 days! Holy poop on a stick! Now that is tracking! Oh, I can already see the new scripts, left to run for days on end, except my playstation is never left alone for that long. LOL
-
The_Rabid_Taco - Major
- Posts: 1066
- Joined: Wed Mar 16, 2016 6:04 pm
- Location: Pensacola, FL
Re: wait () command in Titan Two...
J2Kbr wrote:antithesis wrote:J2Kbr wrote:Does it also apply to get_ptime () ?
Not exactly. the equivalent to get_ptime on Titan Two is time_actived(), it returns a 32-bit unsigned int, which can measure the "activated time" from 0 to 4294967295ms, or 49 days.
Also, we have - for Titan Two - a new function called time_resting(), which measures for how long a button is in the resting position - here it can track up to 49 days too.
I think 49 days should cover it...just
-
antithesis - Colonel
- Posts: 1912
- Joined: Sat May 28, 2016 10:45 pm
Re: wait () command in Titan Two...
Man I really needed 50 days out of this.....lol!
- bonefisher
- Lieutenant General
- Posts: 5413
- Joined: Thu Jan 29, 2015 10:49 am
13 posts
• Page 1 of 2 • 1, 2
Return to GPC2 Script Programming
Who is online
Users browsing this forum: No registered users and 156 guests