Hi,

str_for_entfile returns the model name. As for the function, not sure but I think you can save it in entity.string1/.string2.
Perhaps engine_getscript (char* name ) is also usefull here.

Are you making a level editor or such? If yes I think you can use entity.string1/2 to save the action in a .wmb. Personally for my level editor I just use a skill to save the action as an ID/number (+DEFINE to make the script readable tongue ).

Last edited by Reconnoiter; 09/20/16 16:54.