Hi Community,

I want to to duplicate (copy) an Entity.

I want something like that:
Quote:

....
act_name_ent=you.action_name;
ent_create("tmp.mdl",create_pos,act_name_ent);
....


I know, that this is not possible, I tried something like reading the name from an infofile and fill a String with it.
Like that:

Quote:

....
STRING* act_name_ent= "";
....
//open the file and replace "" with "your_action" (ACTION your_action())

ent_create("tmp.mdl",create_pos,act_name_ent);
....


But all I've got is Error E1513.

There is no other way!
I need to get the Action-Name from the scanned Entity.

Is there anyone who can solve this?
Thanks in advance!

Best regards
Sebbi


3D-Gamestudio A8 - Commercial