Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 05:41
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 (AbrahamR, AndrewAMD), 1,278 guests, and 2 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
changing entity'strings at runtime #366268
04/02/11 14:27
04/02/11 14:27
Joined: Jan 2011
Posts: 122
GUILIN , CHINA
tzw Offline OP
Member
tzw  Offline OP
Member

Joined: Jan 2011
Posts: 122
GUILIN , CHINA
change entity'strings at runtime. and further, change the limited to more charas (128?) in order to store some file's address which entity need (such as entity sound) i guess it is very useful in a lots of conditions. sorry for my poor english.

Last edited by tzw; 04/03/11 14:18.

Full of my eyes are class struggles.....
Re: about entity'string1/2 [Re: tzw] #366395
04/03/11 14:15
04/03/11 14:15
Joined: Jan 2011
Posts: 122
GUILIN , CHINA
tzw Offline OP
Member
tzw  Offline OP
Member

Joined: Jan 2011
Posts: 122
GUILIN , CHINA
or anyone can tell me how to bind a string to a entity easily? thx.

Last edited by tzw; 04/03/11 14:16.

Full of my eyes are class struggles.....
Re: about entity'string1/2 [Re: tzw] #366397
04/03/11 14:23
04/03/11 14:23
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
MasterQ32 Offline
Expert
MasterQ32  Offline
Expert

Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
//to create the string in string1
my.string1 = str_create("#256");

//to create the string in skill1
my.skill1 = str_create("#256");


Visit my site: www.masterq32.de
Re: about entity'string1/2 [Re: MasterQ32] #366402
04/03/11 14:46
04/03/11 14:46
Joined: Jan 2011
Posts: 122
GUILIN , CHINA
tzw Offline OP
Member
tzw  Offline OP
Member

Joined: Jan 2011
Posts: 122
GUILIN , CHINA
thx sir , but the manual says that string1 is read only … i'm confused...

Last edited by tzw; 04/03/11 14:47.

Full of my eyes are class struggles.....
Re: about entity'string1/2 [Re: tzw] #366407
04/03/11 16:04
04/03/11 16:04
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
MasterQ32 Offline
Expert
MasterQ32  Offline
Expert

Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
it is read-only until you redefine it


Visit my site: www.masterq32.de
Re: about entity'string1/2 [Re: MasterQ32] #366414
04/03/11 17:33
04/03/11 17:33
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
How do you redefine a struct member?


Always learn from history, to be sure you make the same mistakes again...
Re: about entity'string1/2 [Re: Uhrwerk] #366488
04/04/11 13:55
04/04/11 13:55
Joined: Dec 2008
Posts: 1,660
North America
Redeemer Offline
Serious User
Redeemer  Offline
Serious User

Joined: Dec 2008
Posts: 1,660
North America
It is really annoying how you can only use str_cpy and str_cat with entity strings. It would be helpful if you could use entity strings just as easily as any other type of string.


Eats commas for breakfast.

Play Barony: Cursed Edition!
Re: about entity'string1/2 [Re: Redeemer] #366495
04/04/11 14:31
04/04/11 14:31
Joined: Jan 2011
Posts: 122
GUILIN , CHINA
tzw Offline OP
Member
tzw  Offline OP
Member

Joined: Jan 2011
Posts: 122
GUILIN , CHINA
....wait for MR.JCL

Last edited by tzw; 04/05/11 15:01.

Full of my eyes are class struggles.....
Re: about entity'string1/2 [Re: tzw] #366783
04/07/11 08:06
04/07/11 08:06
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Entity strings are only for passing some short name, tag, or file name from WED to the script. They have no other purpose and must NOT be used for attaching strings to entities, string operations, or anything like that.

If you don't know how to connect STRING objects to entities, ask on the forum - you'll certainly get 100 solutions.

Re: about entity'string1/2 [Re: jcl] #366794
04/07/11 11:30
04/07/11 11:30
Joined: Jan 2011
Posts: 122
GUILIN , CHINA
tzw Offline OP
Member
tzw  Offline OP
Member

Joined: Jan 2011
Posts: 122
GUILIN , CHINA
em...thank you anyway


Full of my eyes are class struggles.....

Moderated by  aztec, Spirit 

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