MoveToPlayer - golden-coconut-studio/TikiAdventuresWiki GitHub Wiki

  • This task allows the enemy to move and break through an actor which has been identified previously. It is really useful for the Impaler enemy.

  • Properties:

     - DistanceAttackImpaler: 8 m (editable in editor and blueprint).
     - PosicionActor: null (editable in blueprint).
    
  • How it works:

     - Casts the value previously identified to actor.
     - The distance between the enemy and the actor is calculated.
     - The impaler distance is added.
     - A navigable point near this final location is calculated so that the enemy can move.
     - The enemy moves to the final location.
    
  • Funcionamiento:

     - Transforma el valor identificado anteriormente a actor
     - Se calcula la distancia entre el enemigo y el actor
     - Se suma la distancia de impaler
     - Se calcula un punto navigable cerca de esta posicion final para que el enemigo pueda avanzar
     - Avanza el enemigo al punto final