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,449 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
Best function for an RPG creature DB #157082
09/26/07 19:00
09/26/07 19:00
Joined: Oct 2006
Posts: 45
J
juggalo10101 Offline OP
Newbie
juggalo10101  Offline OP
Newbie
J

Joined: Oct 2006
Posts: 45
I need help making something that holds variables for creatures (health,exp,weapon,etc) so i can call them later,
any ideas on what i should use to do this?
Please give examples
thanks a million!

Re: Best function for an RPG creature DB [Re: juggalo10101] #157083
09/26/07 19:08
09/26/07 19:08
Joined: Apr 2005
Posts: 3,076
Germany, NRW
rvL_eXile Offline

3D Artist
rvL_eXile  Offline

3D Artist

Joined: Apr 2005
Posts: 3,076
Germany, NRW
Use Skills...

Dont know Lite-C in C-Script its looks like:

define Z1_health,skill2;

cYa Sebastian


Tutorials:
[Blender]Terrain creation ENG/GER
[Blender]Low Poly Tree Modeling
[GIMP]Create a Texture for Terrains
CLICK HERE


Re: Best function for an RPG creature DB [Re: rvL_eXile] #157084
09/26/07 19:09
09/26/07 19:09
Joined: Oct 2006
Posts: 45
J
juggalo10101 Offline OP
Newbie
juggalo10101  Offline OP
Newbie
J

Joined: Oct 2006
Posts: 45
hm, i would rather have lite c and more explination... thanks

Re: Best function for an RPG creature DB [Re: juggalo10101] #157085
09/26/07 19:18
09/26/07 19:18
Joined: Oct 2006
Posts: 873
S
Shadow969 Offline
User
Shadow969  Offline
User
S

Joined: Oct 2006
Posts: 873
you can use structs for that, check the examples in manual

Re: Best function for an RPG creature DB [Re: Shadow969] #157086
09/26/07 19:24
09/26/07 19:24
Joined: May 2007
Posts: 2,043
Germany
Lukas Offline

Programmer
Lukas  Offline

Programmer

Joined: May 2007
Posts: 2,043
Germany
Quote:

Use Skills...

Dont know Lite-C in C-Script its looks like:

define Z1_health,skill2;

cYa Sebastian



It's
#define Z1_health skill2

Quote:

you can use structs for that, check the examples in manual




Yes you can also use structs, but I think using skills is easier

Re: Best function for an RPG creature DB [Re: Lukas] #157087
09/26/07 19:30
09/26/07 19:30
Joined: Oct 2006
Posts: 45
J
juggalo10101 Offline OP
Newbie
juggalo10101  Offline OP
Newbie
J

Joined: Oct 2006
Posts: 45
what exactly are skills?

Re: Best function for an RPG creature DB [Re: juggalo10101] #157088
09/26/07 19:48
09/26/07 19:48
Joined: May 2007
Posts: 2,043
Germany
Lukas Offline

Programmer
Lukas  Offline

Programmer

Joined: May 2007
Posts: 2,043
Germany
There are 100 Variables at each entity named "skills". You can hold these variables like health,exp,weapon,etc by using them.

Example:
Code:
my.skill1 = 10;


or:
Code:
#define health skill1

...

my.health = 10;



Re: Best function for an RPG creature DB [Re: Lukas] #157089
09/28/07 00:51
09/28/07 00:51
Joined: Oct 2006
Posts: 45
J
juggalo10101 Offline OP
Newbie
juggalo10101  Offline OP
Newbie
J

Joined: Oct 2006
Posts: 45
Thanks a million


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