Posted By: Reconnoiter
please make it possible to change entity.string1 / 2 - 05/23/15 13:03
Hi JCL and co,
It would be really nice if entity.string1 and entity.string2 could be changed realtime. I am making a realtime map editor and it would be nice to save 2 actions/strings; 1 for in the editor itself (also for the entity action when opening a saved map in the editor) and 1 for the game (script). But the manual points out the it is read-only.
Is it possible to bypass the read-only thingy?
Thanks in advance.
It would be really nice if entity.string1 and entity.string2 could be changed realtime. I am making a realtime map editor and it would be nice to save 2 actions/strings; 1 for in the editor itself (also for the entity action when opening a saved map in the editor) and 1 for the game (script). But the manual points out the it is read-only.
Quote:
entity.string1 ... entity.string2
Two general-purpose 32 character strings. Can be set by WED's entity properties panel and can be read in the script by the str_cpy or str_cat functions, but must not be altered.
Type:
char* pointer, read-only
Two general-purpose 32 character strings. Can be set by WED's entity properties panel and can be read in the script by the str_cpy or str_cat functions, but must not be altered.
Type:
char* pointer, read-only
Is it possible to bypass the read-only thingy?
Thanks in advance.