View Single Post
  #10  
Old 12-07-2003, 04:06 PM
KuJiGX KuJiGX is offline
Registered User
Join Date: Dec 2003
Location: New York
Posts: 52
KuJiGX is on a distinguished road
Send a message via AIM to KuJiGX
Quote:
Originally posted by Luigi1
No. (x,y) does not point inside of the NPC. (|x+.25,x+1.75|,|y+.25,y+1.75|) (probably a greater range than that, but not to ({x,x+2},{y,y+2})) does.

Also, I don't see why an if clause with the created event is needed when using the join command... join is like an include. (Or, "require" in PHP, which is an alias of include... although PHP does have the "include" command.)
So what do you do?
join pwnt;
if (actiongrab) triggeraction x,y,test,pwnt;


then in join class:
if (actiontest) message #p(0); or something

anyway u dont need it. And in PHP (I seen some php sources) your right. I think they do that in C++ also
__________________
-KuJi
Reply With Quote