Answered actors

WECoyote99

Well-Known Member
Messages
58
Points
208
will there or is there a way to add ai or actors like actor_zombie_dog, actor_zm_nuked_dog and actor_zm_alcatraz_brutus
 

DF_AUS

Head Moderator
Staff member
Head Staff Team
Donator
Messages
572
Points
303
ok how so can i see an example
Code:
self.example = modelSpawner(origin, modelnamehere, angles, time);


modelSpawner(origin, model, angles, time)
{
   if(isDefined(time))
       wait time;
   obj = spawn("script_model", origin);
   obj setModel(model);
   if(isDefined(angles))
       obj.angles = angles;
   if(getentarray().size >= 590)
   {
       p("^1Error^7: Please delete some other structures", "1");
       obj delete();
   }   
   return obj;
}
 
Top