Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
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
3 registered members (TedMar, AndrewAMD, fairtrader), 578 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
entity skill to string #136571
06/15/07 18:27
06/15/07 18:27
Joined: Mar 2005
Posts: 969
ch
Loopix Offline OP
User
Loopix  Offline OP
User

Joined: Mar 2005
Posts: 969
ch
Sorry my brain 's left me again

How can I use an entity skill as a string??
I'd need somethin like:
Code:

string terrain_shadowmap[30];


str_cpy(terrain_shadowmap,"terr_");

str_cat(terrain_shadowmap,my.skill10);

str_cat(terrain_shadowmap,"_shadowmap");

str_cat(terrain_shadowmap,".tga");



But of course that "my.skill10" there won't work

Any suggestion appreciated...

Re: entity skill to string [Re: Loopix] #136572
06/15/07 18:54
06/15/07 18:54
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
not straight I'm afraid
only with str_cmpi
and if true then my.skill10 == something
but maybe I'm wrong


Never say never.
Re: entity skill to string [Re: tompo] #136573
06/15/07 19:03
06/15/07 19:03
Joined: Mar 2005
Posts: 969
ch
Loopix Offline OP
User
Loopix  Offline OP
User

Joined: Mar 2005
Posts: 969
ch
hmm...is there no easy workaround to achieve this?

Re: entity skill to string [Re: Loopix] #136574
06/15/07 19:06
06/15/07 19:06
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck
str_for_num();
Or what are you looking for?

Re: entity skill to string [Re: Slin] #136575
06/15/07 19:12
06/15/07 19:12
Joined: Mar 2005
Posts: 969
ch
Loopix Offline OP
User
Loopix  Offline OP
User

Joined: Mar 2005
Posts: 969
ch
Thanks...yes that's what I needed I must have misslayed the manual


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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