Increasing variance range
13 posts
• Page 2 of 2 • 1, 2
Re: Increasing variance range
Yes you can use decimals with the titan two.
-
DontAtMe - Captain
- Posts: 502
- Joined: Tue Oct 02, 2018 4:49 am
Re: Increasing variance range
Will the script automatically use decimal points or do I have to add something
-
Flyers1987 - Sergeant Major
- Posts: 74
- Joined: Mon Apr 29, 2019 7:22 pm
Re: Increasing variance range
relax, I have already replied to you.Flyers1987 wrote:I see you only answer when it serves you well?Flyers1987 wrote:I
Hello?
Your script will work with the Titan Two, and yes, decimals can be implemented within your script if you choose to use them,Flyers1987 wrote:I want to make sure that this script is going to work on the Titan 2 and will include decimal points as it sits? Please tell me that's trueDontAtMe wrote:Yes you can use decimals with the titan two.
No they will not automatically use decimals. As you have assigned all your variables as integers, you would need to re-assign them to fix32.Flyers1987 wrote:Will the script automatically use decimal points or do I have to add something
example.
These variables can not use decimals.
- Code: Select all
int rnd_back, back_val;
int rnd_down, down_val;
Assign them to fix32 instead of int
- Code: Select all
fix32 rnd_back, back_val;
fix32 rnd_down, down_val;
-
DontAtMe - Captain
- Posts: 502
- Joined: Tue Oct 02, 2018 4:49 am
13 posts
• Page 2 of 2 • 1, 2
Return to GPC1 Script Programming
Who is online
Users browsing this forum: No registered users and 44 guests