Gamestudio Links
Zorro Links
Newest Posts
NOMAX undeclared identifier.
by Petra. 01/09/26 21:12
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 01/07/26 15:14
Zorro locks DLL
by jcl. 01/07/26 13:33
zorro with ccxt?
by qin. 01/07/26 07:50
The new evaluation system
by jcl. 01/05/26 08:50
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
5 registered members (Petra, TipmyPip, AndrewAMD, M_D, Quad), 3,193 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Namitha_NN, Syndrela, agasior, mosfet, MonsterX
19188 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
DEFINE Damage, SKILL3; #102053
12/13/06 21:06
12/13/06 21:06
Joined: Dec 2005
Posts: 30
UK
joolzhaines Offline OP
Newbie
joolzhaines  Offline OP
Newbie

Joined: Dec 2005
Posts: 30
UK
Hi,

Can anyone tell me why that in WED the name SKILL3 is not replaced with the name Damaged when using

DEFINE Damage, SKILL3;

Cheers

Joolz (newbee)

Re: DEFINE Damage, SKILL3; [Re: joolzhaines] #102054
12/13/06 21:38
12/13/06 21:38
Joined: Dec 2005
Posts: 252
MyOwnKingdom
nipx Offline
Member
nipx  Offline
Member

Joined: Dec 2005
Posts: 252
MyOwnKingdom
Im not sure normally I dont use it...

Try this:

Code:

define damage, skill3;

....
....
....
....

//uses damage
action your_action
....



Try with //uses damage directly over your action. Now it should work.
But first close and open your level!!


nipx

Re: DEFINE Damage, SKILL3; [Re: nipx] #102055
12/13/06 22:06
12/13/06 22:06
Joined: Dec 2005
Posts: 30
UK
joolzhaines Offline OP
Newbie
joolzhaines  Offline OP
Newbie

Joined: Dec 2005
Posts: 30
UK
Hi,

Yes that worked, at the start of the action that uses the define you need to use

Define health, SKILL15

//uses health
action player
{}

as if you are putting a comment, then is WED it shows up in properties. this is very confusing! as looks like a comment but is reconized as code

Regards

Joolz (newbee)

Re: DEFINE Damage, SKILL3; [Re: joolzhaines] #102056
12/13/06 22:59
12/13/06 22:59
Joined: Aug 2005
Posts: 1,185
Ukraine
Lion_Ts Offline
Serious User
Lion_Ts  Offline
Serious User

Joined: Aug 2005
Posts: 1,185
Ukraine
you'll be surprised how many such special comments wed/sed can recognize. it's not documented well, however you may look into any template script file to learn more about it.


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