Thread
:
Tiles Triggering Actions
View Single Post
#
6
06-09-2014, 06:50 PM
Jakov_the_Jakovasaur
Deleted by Darlene159
Join Date: Sep 2013
Location: Deleted by Darlene159
Posts: 360
i didnt realise graal doesnt like using 1x1 directly like that, i usually change the tile values to their actual hexadecimal value, in this case 17:
PHP Code:
if (
tiles
[
player
.
x
+
1.5
,
player
.
y
+
2
] ==
17
) {
player
.
chat
=
"Found Tile!"
;
}
__________________
This signature has been deleted by
Darlene159
.
Jakov_the_Jakovasaur
View Public Profile
View GraalOnline Profile
Visit Jakov_the_Jakovasaur's homepage!
Find all posts by Jakov_the_Jakovasaur