[script] Change name

O Ilusionista

Captain 100K
This is a code I made for my project and maybe it could be useful to other people:

Put this on your animationscript file:

Code:
void changeName (void iName)
{
void vSelf = getlocalvar("self"); // get the caller
changeentityproperty(vSelf, "name", iName); //change the entity name
}

Then call it, for example:

delay 16
@cmd changeName "Diamond_Form_Emma"
frame data/chars/emma_frost/h7.png
 
Back
Top Bottom