![]() |
I need Help
ok, i was wondering how do u make it so a NPC only works on a certain tile? like in fishing, it HAS to be water in order for it to work! =\ (btw i'm tryingt o make my own fishing) THX
|
Use the Board command
board[x+(y*16)] So, if you want to check for a deep water tile: NPC Code: |
Oooooo. You beat me to the answer. :(
|
Please dont get into another argument.
-Rebel95 |
ok so what is it for the deep deep water u cannot go in, and the deep water u can swim in.. i need both
|
Wouldn't the deep water you can't swim in just be considered WALL?
|
You Stole my Post! I was about to say that, but it takes me longer to type!!!!!
:grr::grrr: :grrr: :grrr: :grrr: :grrr: :grrr: :grrr: :grrr: :grr: -Rebel95 |
Spaz :eek: :rolleyes:
|
shut up rebel, anyways, board is a very useful command but i cant figure it out. :(
|
i still dont get how to make this fishing pole thingie.
like how would i make the first part? if (???) { this.testx=int(playerx+1.5*2); this.testy=int(playery+2*2); if (board[this.testx+(this.testy*16)]==322) { dostuff; }} ?? i just dont get it!! ahhhhhhhhhhh lol |
Quote:
not discussion, I love discussions, but argumants are not the point of this forum. -Rebel95 |
| All times are GMT +2. The time now is 05:13 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.