Announcement

Collapse
No announcement yet.

A Kismet 'actor factory' question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    A Kismet 'actor factory' question

    Hi every,

    I have a question about 'actor factory' component.

    We can use actor factory to add some AI in our game.

    In Nov. version, I just need to assign position, controller class and pawn class.

    When I play the game, the bot see me and it will fire to me.

    Now, I use the April version. I do the same things and play it. now, bot can't fire to me.

    I don't know what happened...

    #2
    Replace PostBeginPLay in UTBot:

    function PostBeginPlay()
    {
    Super.PostBeginPlay();
    SetCombatTimer();
    Aggressiveness = BaseAggressiveness;
    if ( UTGame(WorldInfo.Game).bSoaking )
    bSoaking = true;

    if(UTSquadAI(Squad) == none)
    Squad = Spawn(class'UTSquadAI', self);
    }


    ..and recompile.

    ..

    Or use UTActorFactory and set Force Deathmatch AI

    Comment


      #3
      Originally posted by eAlex79 View Post
      Replace PostBeginPLay in UTBot:

      function PostBeginPlay()
      {
      Super.PostBeginPlay();
      SetCombatTimer();
      Aggressiveness = BaseAggressiveness;
      if ( UTGame(WorldInfo.Game).bSoaking )
      bSoaking = true;

      if(UTSquadAI(Squad) == none)
      Squad = Spawn(class'UTSquadAI', self);
      }


      ..and recompile.

      ..

      Or use UTActorFactory and set Force Deathmatch AI
      Ok, now it work like before.

      Thanks a lot!!!

      Comment

      Working...
      X