hosler
October 6, 2015, 7:00pm
1
how do i detect tiles at x,y? tiles[x,y] works when i do
[php]message #v (tiles[x,y])[/php]
but it dont work when i do
[php]this.tile = #v (tiles[x,y]) [/php]
it’s weird. the only hack i can think of will be pull the value from the npc chat text, but wtf.
hosler
October 6, 2015, 8:46pm
2
i think i had a random syntax error before because it’s working now. ill mark this one solved. good job.
round of applause for hosler. He’s carrying the team.
edit: what team
Eroz
October 6, 2015, 10:20pm
4
[QUOTE=Yggdrasil;115089]
round of applause for hosler. He’s carrying the team.
edit: what team
[/QUOTE]
I laughed more than I should have.
[QUOTE=hosler;115087]i think i had a random syntax error before because it’s working now. ill mark this one solved. good job.[/QUOTE]
Silly hosler, you should know better, putting strings where numbers should go, noob.
hosler
October 7, 2015, 7:00am
6
I keep forgetting that #v can only be used in some cases.
[QUOTE=hosler;115102]I keep forgetting that #v can only be used in some cases.[/QUOTE]
Whenever you use hash, your expected return type is a string you mean.