Thread: Animated tiles?
View Single Post
  #12  
Old 10-27-2003, 02:47 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
its really simple just do loop with somehing like this in it
NPC Code:
if (tiles[x,y]=thetilenumber) tiles[x,y]=theothertilenumber;


like maybe:
NPC Code:

timeout=0.05;
if (tiles[x,y]=0x00F5) tiles[x,y]=0x01CD;
else if (tiles[x,y]=0x01CD) tiles[x,y]=0x01CE;
else if (tiles[x,y]=0x01CE) tiles[x,y]=0x00F5;


(i just picked random numbers i dont no what they r xD)
__________________
Do it with a DON!
Reply With Quote