Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
3 registered members (TedMar, AndrewAMD, fairtrader), 578 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Number syntax error, no idea how to solve. #163010
10/23/07 19:51
10/23/07 19:51
Joined: Oct 2007
Posts: 116
S
sydan Offline OP
Member
sydan  Offline OP
Member
S

Joined: Oct 2007
Posts: 116
Ive started a game project and have just got round to adding panels for it but when I started to enter variables, skills or entity values for the panels red,green,blue and position values all 3dgs chucks out is error (13) number syntax. The manual doesn't have anything on number syntax error (13) and i can't see how I can solve the problem! Its probably something blindingly obvious but please can someone point it out.

Re: Number syntax error, no idea how to solve. [Re: sydan] #163011
10/23/07 20:02
10/23/07 20:02
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
as far as I know: you cannot use variables or skills in the panel definitions/properties like red,green,blue .. vars and skills are only allowed in digit elements.

Re: Number syntax error, no idea how to solve. [Re: Xarthor] #163012
10/23/07 20:05
10/23/07 20:05
Joined: Oct 2007
Posts: 116
S
sydan Offline OP
Member
sydan  Offline OP
Member
S

Joined: Oct 2007
Posts: 116
What! That throws a very large spanner in the works. I need my panels to mimic a particular colour that the player chooses as his colour during the game but the colour was going to be free to choose so I thought I would let the panel colour be set to the players colour values and I also wanted the panels to change position and size depending on the screen resolution the player uses, do you know how I could achieve this?

Last edited by sydan; 10/23/07 20:06.

For some reason, my ambition always seems to beat my ability.
Re: Number syntax error, no idea how to solve. [Re: sydan] #163013
10/23/07 20:05
10/23/07 20:05
Joined: Jul 2007
Posts: 959
nl
F
flits Offline
User
flits  Offline
User
F

Joined: Jul 2007
Posts: 959
nl
panel my_pan
{
bmp = bmp;
}

function my_pan_func
{
my_pan.light = on;
my_pan.red = 255;
my_pan.green = 200;
my_pan.blue = 50;
my_pan.pos_x = 20;
my_pan.transparent = on;
my_pan.alpha = 88;
//go_on waht ever u want
}


"empty"
Re: Number syntax error, no idea how to solve. [Re: flits] #163014
10/23/07 20:07
10/23/07 20:07
Joined: Jul 2007
Posts: 959
nl
F
flits Offline
User
flits  Offline
User
F

Joined: Jul 2007
Posts: 959
nl
but it isnt realy nice i could say


"empty"
Re: Number syntax error, no idea how to solve. [Re: flits] #163015
10/23/07 20:08
10/23/07 20:08
Joined: Oct 2007
Posts: 116
S
sydan Offline OP
Member
sydan  Offline OP
Member
S

Joined: Oct 2007
Posts: 116
Oh! Wow! thanks alot! I see how that works, great Im guna have to go do that now before I forget. Thank you!


For some reason, my ambition always seems to beat my ability.

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1