Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/06/23 11:29
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
7 registered members (fairtrader, Quad, miwok, Martin_HH, AndrewAMD, alibaba, dpn), 581 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 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 | 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