Thread: Tiles You on
View Single Post
  #4  
Old 08-02-2006, 06:39 AM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
I do something similar to this:

PHP Code:
// INCOMPLETE CODE \\
this.tile = tiletype(player.x + 0.5, player.y);
this.tile2 = tiletype(player.x + 1.5, player.y);

if (
this.tile == 3 && this.tile2 == 3) {
  
setani("sit", NULL);
} elseif (
this.tile == 4 && this.tile2 == 4) {
  
setani("sleep", NULL);
} 
I don't know all the tiletypes by heart, go test them out. mk
Reply With Quote