Thread: Npc to Npc
View Single Post
  #32  
Old 02-05-2011, 05:16 AM
kingcj kingcj is offline
Registered User
kingcj's Avatar
Join Date: Apr 2006
Location: TN
Posts: 114
kingcj will become famous soon enough
Send a message via MSN to kingcj
So something like this would work? I had been trying to work with that as well but I can't seem to get it working either. Maybe my syntax is wrong? I dunno..

PHP Code:
function onCreated() {
    for (
temp.i: level.findareanpcs(this.x, this.y, 3, 3)) {
      if (
temp.i.isinclass("bomb")) continue;
      echo(
"bombs?");
      
      
temp.i.trigger("Bombover", this);

    }
} 
__________________
Zie

"It is not necessary to change. Survival is not mandatory." - W. Edwards Deming
Reply With Quote