bf6-portal-mod-types
    Preparing search index...

    Function AISetUnspawnOnDead

    • Use this on an AI Spawner to control whether AI soldiers spawned will leave the game after they are killed.

      Parameters

      • spawner: Spawner

        The spawner to set the behavior for.

      • enableUnspawnOnDead: boolean

        Whether to enable or disable unspawning on death.

      Returns void

    • Use this on a spawner to determine if AI soldiers spawned will leave the game after they are killed.

      Parameters

      • spawner: Spawner
      • enableUnspawnOnDead: boolean

      Returns void