Gamestudio Links
Zorro Links
Newest Posts
Lapsa's very own thread
by rki. 06/19/24 11:27
A simple game ...
by VoroneTZ. 06/18/24 10:50
Face player all the time ...
by bbn1982. 06/18/24 10:25
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (bigsmack), 1,016 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
squik, AemStones, LucasJoshua, Baklazhan, Hanky27
19060 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 | chip programmers | 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