[Request] Accessibility Program.
17 posts
• Page 2 of 2 • 1, 2
Re: [Request] Accessibility Program.
@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.
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 (109.07 KiB) Viewed 2244 times
ConsoleTuner Support Team
-
perfecthuntr - Major
- Posts: 897
- Joined: Wed Jan 14, 2015 8:35 am
- Location: Tennessee
Re: [Request] Accessibility Program.
Perfecthuntr wonder, that's right ... perfect. Thank you so much.
-
cdanv - Master Sergeant
- Posts: 29
- Joined: Thu Aug 20, 2015 5:05 am
Re: [Request] Accessibility Program.
I just use the real scripts, so I learned something new today.
-
UK_Wildcats - Brigadier General
- Posts: 2243
- Joined: Thu Jan 08, 2015 6:53 pm
Re: [Request] Accessibility Program.
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
-
perfecthuntr - Major
- Posts: 897
- Joined: Wed Jan 14, 2015 8:35 am
- Location: Tennessee
Re: [Request] Accessibility Program.
wow!! using TRACE as variables, very clever! 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!!
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: [Request] Accessibility Program.
J2Kbr wrote:wow!! using TRACE as variables, very clever! 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!!
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
-
perfecthuntr - Major
- Posts: 897
- Joined: Wed Jan 14, 2015 8:35 am
- Location: Tennessee
Re: [Request] Accessibility Program.
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!
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
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
17 posts
• Page 2 of 2 • 1, 2
Return to GPC1 Script Programming
Who is online
Users browsing this forum: No registered users and 116 guests