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 (Dico), 16,767 guests, and 5 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
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