Thread: onwall2
View Single Post
  #10  
Old 02-05-2002, 04:03 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Quote:
Originally posted by LiquidIce00


its like
onwall2 x,y,w,h
so it makes the rectangle for u ;X
so:
NPC Code:

NPC Code:

if (created) {
onwall2 30,30,2,2;
timeout=1;
}
if (timeout) {
if (onwall(playerx,playery)) {
message Onwall.;
} else {
message Offwall;
}
timeout=1;
}




Would that be proper format?

OR

NPC Code:

NPC Code:

if (created) {
timeout=1;
}
if (timeout) {
if (onwall2(30,30,2,2)) {
message Onwall.;
} else {
message Offwall.;
}
timeout=1;
}



Reply With Quote