[Request] Accessibility Program.

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

Re: [Request] Accessibility Program.

Postby perfecthuntr » Wed Sep 02, 2015 10:33 pm

@cdanv,

I was able to get a script working for you in the visual scripting tab. Please check out the screenshot below to see how to accomplish this. I hope that this script makes sense to you. Please note - you have to hit the star button on the if statement that is indicated here to change it to an if-else statement.

I hope I was able to help!!!

@Everyone else - you can't really use variables in visual scripting, so I had to use the TRACE values in order to accomplish the same thing. Also, you can't easily do something like "var = !var", so I had to manually change the values as you see here.
Attachments
accessibility.png
accessibility.png (109.07 KiB) Viewed 2212 times
ConsoleTuner Support Team
User avatar
perfecthuntr
Major
Major
 
Posts: 897
Joined: Wed Jan 14, 2015 8:35 am
Location: Tennessee

Re: [Request] Accessibility Program.

Postby cdanv » Thu Sep 03, 2015 4:23 pm

Perfecthuntr wonder, that's right ... perfect. Thank you so much.
User avatar
cdanv
Master Sergeant
Master Sergeant
 
Posts: 29
Joined: Thu Aug 20, 2015 5:05 am

Re: [Request] Accessibility Program.

Postby UK_Wildcats » Thu Sep 03, 2015 5:26 pm

I just use the real scripts, so I learned something new today.
User avatar
UK_Wildcats
Brigadier General
Brigadier General
 
Posts: 2243
Joined: Thu Jan 08, 2015 6:53 pm

Re: [Request] Accessibility Program.

Postby perfecthuntr » Thu Sep 03, 2015 10:43 pm

Yea, I've just used the normal scripts as well and did not think this was possible. Persistence pays off. Thankfully they give you access to the trace values since you can't use your own variables.
ConsoleTuner Support Team
User avatar
perfecthuntr
Major
Major
 
Posts: 897
Joined: Wed Jan 14, 2015 8:35 am
Location: Tennessee

Re: [Request] Accessibility Program.

Postby J2Kbr » Thu Sep 03, 2015 11:54 pm

wow!! using TRACE as variables, very clever! :joia: I was stuck with the idea that anything that required a variable wouldn't be possible on the visual script! I learned something as well!! :innocent_smile_1:
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Re: [Request] Accessibility Program.

Postby perfecthuntr » Sat Sep 05, 2015 4:40 am

J2Kbr wrote:wow!! using TRACE as variables, very clever! :joia: I was stuck with the idea that anything that required a variable wouldn't be possible on the visual script! I learned something as well!! :innocent_smile_1:

You have to be kidding me!! I taught J2K something?! Also, would it be difficult to add a variable creation block for visual scripters?
ConsoleTuner Support Team
User avatar
perfecthuntr
Major
Major
 
Posts: 897
Joined: Wed Jan 14, 2015 8:35 am
Location: Tennessee

Re: [Request] Accessibility Program.

Postby J2Kbr » Sun Sep 20, 2015 11:13 pm

:innocent_smile_1: lol!! nice.

It should not be difficult to implement. Actually, among many other things, this is something that is on my plans.

The Script interface uses the Google Blockly API (https://code.google.com/p/blockly/), if anyone has interest in contribute, it will be very welcome! :)
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Previous

Return to GPC1 Script Programming

Who is online

Users browsing this forum: No registered users and 47 guests