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;
}