Alexandre Xander Openbor
New member
Friends, I open this discussion to answer a question about how to reset the programming made by Scripts. I had done it this way but it doesn't seem to work, so the entity returns to its normal state by resetting all scripts:
@script
void self=getlocalvar("self");
if(!frame){
clearlocalvar("self");
}
@end_script
I put "idle" and "walk" in the animations.. Openbor accepted the script fine but it is not clearing the variables...
@script
void self=getlocalvar("self");
if(!frame){
clearlocalvar("self");
}
@end_script
I put "idle" and "walk" in the animations.. Openbor accepted the script fine but it is not clearing the variables...