- Code: Select all
if (DRAW==1) {
if (X[TILECOUNT]!=TILE.x && Y[TILECOUNT]!=TILES.y) {
CreateActor("Land", "Grass_02", "(none)", "(none)", TILES.x, TILES.y, true);
TILECOUNT++;
}
}
Create Actor: Land
- Code: Select all
switch(TILE_NUM[0]) {
case 0:
ChangeAnimation("Event Actor", "Grass_01", FORWARD);
break;
case 1:
ChangeAnimation("Event Actor", "Grass_02", FORWARD);
break;
}
X[TILECOUNT]=x;
Y[TILECOUNT]=y;
heh, any help?