Hi laugh Really sorry to hear about this!!

Here goes a shot in the dark...

I organized the create function differently..
You mention that it doesn't happen when you apply NULL to the actions in the create function, maybe the error is in on of the items?

Code:
function enemy_createitem()
{ 
   var i;
   var random_num = 0;
   for(i = 1; i < 9; i++) {
         if(player_pointer[i]){
         random_num=random(100);
         randomize();
         if (random_num >= 66) {you = ent_create("MDL_BonusHealth.mdl",vector(my.x,my.y,my.z+40),item_healthbonus);}
         if (random_num < 66 && random_num >= 50) {you = ent_create("MDL_BonusArmor.mdl",vector(my.x,my.y,my.z+40),item_armorbonus); }
         if (random_num < 50) { you = ent_create("MDL_BonusSpeed.mdl",vector(my.x,my.y,my.z+40),item_speedbonus); } 

         you.STATE = i;
         send_skill_to(pointer_player[i],you.STATE,0);
      }
   }
}


Last edited by DLively; 04/17/14 16:04.

A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com