Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (OptimusPrime, AndrewAMD), 14,595 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
assign strings in entity or action block #200010
04/02/08 06:53
04/02/08 06:53
Joined: Jul 2007
Posts: 6
A
ahmad3d Offline OP
Newbie
ahmad3d  Offline OP
Newbie
A

Joined: Jul 2007
Posts: 6
how can i assign string to skill
like these:
action g
{
skill2="dsdsd";
}
or
entity d
{
skill2="dsdsd":
}
in a7 it has string1 and string2
but not work for entity{...}

Re: assign strings in entity or action block [Re: ahmad3d] #200012
04/02/08 06:55
04/02/08 06:55
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
String1 and 2 of an entity are read only. They are to be used via WED. To assign a string to an entity create it and save it's adress e.g. in a skill.

Re: assign strings in entity or action block [Re: HeelX] #200033
04/02/08 10:25
04/02/08 10:25

M
mercuryus
Unregistered
mercuryus
Unregistered
M



It's (meanwhile?) possible to assigne the entites strings (string1, string2) within a script:

my.string1="hallo ";
my.string2="world!";

mercuryus


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

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