Answered actors

Discussion in 'Call of Duty: Black Ops 2 Answered Questions' started by WECoyote99, Apr 13, 2017.

  1. WECoyote99

    WECoyote99 Well-Known Member

    58
    4
    208
    Credits:
    262
    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
     
  2. WECoyote99

    WECoyote99 Well-Known Member

    58
    4
    208
    Credits:
    262
    ok how so can i see an example
     
  3. DF_AUS

    DF_AUS Head Moderator Staff Member Head Staff Team Donator

    562
    843
    303
    Credits:
    5,511
    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;
    }
    
     

Share This Page