Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,038 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
need explanation of a code line #177365
01/10/08 23:47
01/10/08 23:47
Joined: Sep 2003
Posts: 733
Whitefish, Montana
JazzDude Offline OP
User
JazzDude  Offline OP
User

Joined: Sep 2003
Posts: 733
Whitefish, Montana
I'm trying to adapt a high score snippet and this line causes a syntax error. Is it Lite-C? I'm using C-script.

SKILL SCORE1 = { TYPE GLOBAL; VAL 100; }

I've never seen a skill coded this way. What's it supposed to be or do? How can I fix it?

Thanx.

Re: need explanation of a code line [Re: JazzDude] #177366
01/11/08 04:15
01/11/08 04:15
Joined: Sep 2003
Posts: 281
Arkansas\USA
raiden Offline
Member
raiden  Offline
Member

Joined: Sep 2003
Posts: 281
Arkansas\USA
Hi Jazzdude,

That isn't lite-c, maybe some A4 syntax or something, but here is the fix:

Code:

define score1 = skill1;



It isn't initialized to 100, but you can do that in the entities action that will the score1:
Code:

action myEnt
{
my.score1 = 100;
}



Hope that is what your looking for.

-raiden


"It doesn't matter if we win or lose, it's how we make the game."
--------------------
Links: 3DGS for Dummies
Re: need explanation of a code line [Re: raiden] #177367
01/11/08 18:29
01/11/08 18:29
Joined: Sep 2003
Posts: 733
Whitefish, Montana
JazzDude Offline OP
User
JazzDude  Offline OP
User

Joined: Sep 2003
Posts: 733
Whitefish, Montana
Another mystery solved by Inspector Raiden!
Thank you.


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

Gamestudio download | 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