Gamestudio Links
Zorro Links
Newest Posts
Lapsa's very own thread
by Lapsa. 06/20/26 18:18
Ranger by Robert Pardo - now for Zorro
by Smallz. 06/20/26 11:23
Z12 live performance
by jcl. 06/19/26 11:21
Z9 getting Error 058
by jcl. 06/16/26 09:51
How to select between IB accounts by script?
by AndrewAMD. 06/13/26 15:44
Zorro tutorial ideas?
by AndrewAMD. 06/13/26 15:01
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (TipmyPip, Quad), 12,106 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Student_64151, Koti, curry, DeepxKalsi, Samed
19219 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