Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by dr_panther. 05/18/24 11:01
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (7th_zorro, dr_panther), 724 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Change skill name in WED #249746
02/04/09 03:14
02/04/09 03:14
Joined: Sep 2008
Posts: 69
U
upsidedownman Offline OP
Junior Member
upsidedownman  Offline OP
Junior Member
U

Joined: Sep 2008
Posts: 69
When i define a skill in a script is there anyway to get it to change in WED so i know what skill is what? It does it in templates so i am guessing it might be done through XML if so any know how i would go about doing this?

Thanks.

Re: Change skill name in WED [Re: upsidedownman] #249747
02/04/09 03:21
02/04/09 03:21
Joined: Aug 2008
Posts: 218
U.S.
GamerX Offline
Member
GamerX  Offline
Member

Joined: Aug 2008
Posts: 218
U.S.
look at comment tags in the manual


"You may never know what results come of your action, but if you do nothing there will be no result."
-Mahatma Gandhi
Re: Change skill name in WED [Re: GamerX] #249750
02/04/09 03:50
02/04/09 03:50
Joined: Sep 2008
Posts: 69
U
upsidedownman Offline OP
Junior Member
upsidedownman  Offline OP
Junior Member
U

Joined: Sep 2008
Posts: 69
But then you have to do it to every entity there has to be a way to just do it for all entities. Any1 know?

Re: Change skill name in WED [Re: upsidedownman] #249754
02/04/09 05:45
02/04/09 05:45
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
You can't change skill name in WED. But you can change it by SED.

#define new_name old_name

new_name: The new name for the skill.
old_name: The current skill name.

Thanks to Jaxas for explain smile.

Re: Change skill name in WED [Re: upsidedownman] #249796
02/04/09 10:11
02/04/09 10:11
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Originally Posted By: upsidedownman
But then you have to do it to every entity there has to be a way to just do it for all entities. Any1 know?


Wrong. You have to do it for every single action, not for every single entity.

And comment tags is what you are looking for.
Quick example:
Code:
#define health skill1

//uses: health
action my_hero()
{
  // blah blah
}


Now if you attach my_hero to some entity in WED you'll see in the skill list that skill1 is named "health".

Re: Change skill name in WED [Re: Xarthor] #249901
02/04/09 19:36
02/04/09 19:36
Joined: Sep 2008
Posts: 69
U
upsidedownman Offline OP
Junior Member
upsidedownman  Offline OP
Junior Member
U

Joined: Sep 2008
Posts: 69
well thats what i meant i have tons of different actions and probably will have tons more to come this is just not an efficient way. Thanks though i guess i have to do it anyway.


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