Gamestudio Links
Zorro Links
Newest Posts
Bug in train mode, or it seem to me
by jcl. 09/22/26 14:47
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 09/22/26 12:21
Capital slider is not saving in Z12
by Petra. 09/22/26 06:49
Parent/child object
by VoroneTZ. 09/22/26 05:52
Zorro tutorial ideas?
by AndrewAMD. 09/21/26 14:50
Trades during a running bar
by Martin_HH. 09/21/26 12:03
Avoiding pop-up training parameter results
by Martin_HH. 09/16/26 21:31
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (ukgamer, shuhari), 1,544 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Opus, Jubilee, lopezsergio07, mistery, lokkalyansamiti
19239 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