View Single Post
  #1  
Old 10-25-2001, 02:26 AM
Thak2 Thak2 is offline
:]
Join Date: Mar 2001
Location: BC
Posts: 1,344
Thak2 is on a distinguished road
Send a message via AIM to Thak2
Arrays and tiles[x,y]

How would I go about making an array store multiple values for the tiles command?

For example, I tried something like this:
NPC Code:

if (weaponfired) {
this.tilesid= {2047,116};
if (tiles[playerx,playery]==this.tilesid) {
setplayerprop #c,this works;
}
}



Why does this not work? What is the proper way of doing this?
Reply With Quote