Thread: Onwall
View Single Post
  #7  
Old 08-14-2001, 02:11 AM
LiquidIce00 LiquidIce00 is offline
RadioActive Monkeeh
LiquidIce00's Avatar
Join Date: Apr 2001
Location: dirty south
Posts: 2,112
LiquidIce00 is on a distinguished road
Send a message via ICQ to LiquidIce00 Send a message via AIM to LiquidIce00 Send a message via Yahoo to LiquidIce00
Quote:
Originally posted by ownerofbabylon
say for mining or fishing u just want the weapon to fire on a certain block of area. Thats what I mean
if you just wnat like fishing in the water then you use board..
if you want mining but like on a npc u made then use triggeraction or callnpc+testnpc..

here is a code for board[] on water =)

NPC Code:

this.x=int(playerx+1.5+(vecx(playerdir)*3));
this.y=int(playery+2+(vecy(playerdir)*3));
this.canfish=board[this.x+(64*this.y)];
if (this.canfish=322) { fish code here }



322 is the index of the water tile(the swimmable one)
__________________
LiquidIce *Owner* (UnholyNation)
-UN Website
http://www.unholynation.com
-UN Forum
http://forums.unholynation.com
-
-the thinker
-

-
onwall2 for nonp2p (i suck at onwall)
Reply With Quote