Aeromesi
Custom Instance Maniac
So I've been banging my head on how to do this for a while now. Basically I'm trying to set an unwalkable cell within an instance, I've successfully done it, but it effects the original map "yuno_fild02" as well, I tried with if(has_instance) and if(instance_id) etc, but to no avail it doesn't work...
Here's my code for the "working" one that effects the original map as well as the emulated instanced map:
- script setwallcake -1,{ end;OnInit: setwall "yuno_fild02",89,185,7,6,false,"cakewall";}
This is my instance version that loads no errors but doesn't work:
Any help on this?
The instanced map is 1@cake by the way. Not sure if that's needed, but that's the emulation name.
Here's my code for the "working" one that effects the original map as well as the emulated instanced map:
- script setwallcake -1,{ end;OnInit: setwall "yuno_fild02",89,185,7,6,false,"cakewall";}
This is my instance version that loads no errors but doesn't work:
Code:
- script setwallcake -1,{ end;OnInstanceInit:if (has_instance("yuno_fild02", .@instance)) { { setwall "yuno_fild02",89,185,7,6,false,"cakewall";}}}
The instanced map is 1@cake by the way. Not sure if that's needed, but that's the emulation name.