|
Fill skills
#212854
06/24/08 17:23
06/24/08 17:23
|
Joined: Jul 2005
Posts: 262 Earth, The Netherlands
NL_3DGS_n00b
OP
Member
|
OP
Member
Joined: Jul 2005
Posts: 262
Earth, The Netherlands
|
Hi, I have a problem with my script, I am trying to write a value to 4 skills, but I get a error. This is the relevent code from the Action which is connected to a model in WED. my.Skill41 = float(random(2)-1);
my.Skill42 = float(random(2)-1);
my.Skill43 = float(random(2)-1);
my.Skill44 = float(1.5); ERROR: Error in 'MAIN' lime 35: 'Skill41' : is not a member of 'ENTITY'
The best games are the games you create yourself.
|
|
|
Re: Fill skills
[Re: DJBMASTER]
#212857
06/24/08 17:46
06/24/08 17:46
|
Joined: Jul 2005
Posts: 262 Earth, The Netherlands
NL_3DGS_n00b
OP
Member
|
OP
Member
Joined: Jul 2005
Posts: 262
Earth, The Netherlands
|
OH MY GOD! (Feeling very stupid right now...) I already tried it lowercase, but I forgot about floatv. Thank you very much.
Another question, how can I draw a black panel? Can I just use 1px black panel and stretch it or something?
The best games are the games you create yourself.
|
|
|
Re: Fill skills
[Re: DJBMASTER]
#212860
06/24/08 18:02
06/24/08 18:02
|
Joined: Jul 2005
Posts: 262 Earth, The Netherlands
NL_3DGS_n00b
OP
Member
|
OP
Member
Joined: Jul 2005
Posts: 262
Earth, The Netherlands
|
It's for a transparent black panel with debug text on it. I will use a 1px image, but I thought I read somewhere that you can scale it to a specific size. I want it to be 1024px x 30px.
The best games are the games you create yourself.
|
|
|
Re: Fill skills
[Re: Joey]
#212907
06/24/08 23:32
06/24/08 23:32
|
Joined: Nov 2007
Posts: 1,143 United Kingdom
DJBMASTER
Serious User
|
Serious User
Joined: Nov 2007
Posts: 1,143
United Kingdom
|
triangles? This image is loaded as a panel so it will be drawn to the screen...not on a model.
Please explain why using a panel would render to triangles.
Last edited by DJBMASTER; 06/24/08 23:33.
|
|
|
|