Gamestudio Links
Zorro Links
Newest Posts
Future of ZorroHFT
by TipmyPip. 09/16/26 09:28
Fun Arcade Car Physics (nfs style)
by rayp. 09/16/26 05:23
How to Choose a Free Cataract Surgery Centre in Delhi?
by lokkalyansamiti. 09/15/26 08:27
Blind Zorro Window
by Martin_HH. 09/13/26 13:20
Parent/child object
by 3run. 09/11/26 06:21
ZorroGPT
by TipmyPip. 09/09/26 14:35
[MED] Import from FBX (2010) missing!!!
by USER0328. 09/03/26 18:03
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (Volkovstudio, ukgamer, 1 invisible), 2,045 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
lokkalyansamiti, rahulbuilds, speedx, liop, Bauer097
19235 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Skill renaming in WED : string1 / string2 ? #454347
09/05/15 08:40
09/05/15 08:40
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline OP
Senior Expert
HeelX  Offline OP
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Hi Gamestudio Team,
I can rename the skills and flags in WED when I put something like this above the action:

Code:
// skill1: MySkill 68
// flag1: MyFlag off
action myaction () {
   ...
}



How do I the same for string1 and string2? Using

Code:
// string1: Name my-name



has no effect...?

Re: Skill renaming in WED : string1 / string2 ? [Re: HeelX] #454349
09/05/15 09:20
09/05/15 09:20
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
did you try

Code:
#define ImAHappyString string1

// uses ImAHappyString
action myaction () {
   ...
}



I've never tried it with strings, though. There's a good chance it will fail the same way grin

Re: Skill renaming in WED : string1 / string2 ? [Re: FBL] #454387
09/07/15 15:33
09/07/15 15:33
Joined: Jul 2000
Posts: 28,133
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,133
Frankfurt
You can of course redefine string1/string2, but this has no effect on WED, only on the script.

Re: Skill renaming in WED : string1 / string2 ? [Re: jcl] #454402
09/07/15 19:26
09/07/15 19:26
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline OP
Senior Expert
HeelX  Offline OP
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Can you add the feature to WED?

Re: Skill renaming in WED : string1 / string2 ? [Re: HeelX] #454439
09/08/15 13:19
09/08/15 13:19
Joined: Jul 2000
Posts: 28,133
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,133
Frankfurt
Not to the old WED. To the new WED, sure, should it ever be finished.


Moderated by  old_bill, Tobias 

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