1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Answered actors

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

  1. WECoyote99

    WECoyote99 Active Member

    52
    4
    108
    Credits:
    189
    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 Active Member

    52
    4
    108
    Credits:
    189
    ok how so can i see an example
     
  3. DF_AUS

    DF_AUS Head Moderator Staff Member Head Staff Team Donator

    498
    807
    303
    Credits:
    4,945
    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