View Single Post
  #31  
Old 01-12-2014, 05:44 PM
i8bit i8bit is offline
Registered User
Join Date: Jul 2013
Posts: 146
i8bit is an unknown quantity at this point
I have everything working the way I want, but I am trying to do a check in the CLASS script to check if the baddie is a certain type.

PHP Code:
  for (temp.npc findAreaNPCs(this.xthis.y44)) {
   if (
temp.npc.baddietype == "normal"){
    
temp.npc.trigger("Hurt");
  }
 } 
What is line 2 suppose to look like to check if the baddietype == "normal"??
Reply With Quote