![]() |
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: Why does this not work? What is the proper way of doing this? |
Re: Arrays and tiles[x,y]
Quote:
if (this.tilesid[0]=2047) message and so is this; if (this.tilesid[1]=116) and this; |
never tried the tiles-command before so I can't tell u the right way but this can't work because the array
this.tilesid is not seen as 2047,116 no every number in an array is seen as an single element so this.tilesid[0] is 2047 and this.tilesid[1] is 116 |
NPC Code: That will make it work. |
Thanks Boco, works quite good now.
|
ok where did tiles[x,y] come from? and why didn't you tell me?
Signed, Rogue Shadow |
new stuff to replace board[STUDIP NUMBERS ERE]
|
Thak what tiles are those supposed to be?
|
Some special top secret tiles, never seen before better then everything else ;D
|
Quote:
|
Quote:
and I have no clue where to get it. I keep hearing about it. and how everyone knows about it. but I don't know where to get it :mad: |
| All times are GMT +2. The time now is 07:19 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.