SetNSearchTypes Property

Usage:
   Ai.SetNSearchTypes number *** DEPRICATED ***

Argument values:

argument 1:    2
argument 2:    ***
argument 3:    DEPRICATED
argument 4:    ***

This property is not a part of any defined type of object.

Used in one .con file: Bf1942/Levels/El_Alamein/Aipathfinding.con

Example: (from Bf1942/Levels/El_Alamein/AIpathFinding.con)
   if v_arg1 == host
   rem ----- Host
   rem ----------------------------------------------------------------------------
   rem *** pathfinding debug mode
   rem game.aiPathfindingDebuggingActive 1
   rem *** Set number of maps ***
   rem ai.setNSearchMaps 2 *** DEPRICATED ***
   Ai.SetNSearchTypes 2 *** DEPRICATED ***
   rem *** Set number of AStar resources ***
   Ai.NumAStarResources 12
   rem *** Setup map parameters ***
   rem *** searchMap name/waterHeight/waterDepth/maxSlope/brush/lowClipLevel/hiClipLevel/consideAITypes
   Ai.AddSearchMap Tank0 0 0 30 3.0 0.3 2.5 0
   Ai.AddSearchType Tank 0 0
   Ai.SetMapSpawnPoints 0 1024/1024
   Ai.SetSmoothing 0 20
   Ai.AddSearchMap Infantry1 0 1.5 30 1.0 0.4 2.0 1
   Ai.AddSearchType Infantery 1 0
   Ai.SetMapSpawnPoints 1 1024/1024
   Ai.SetSmoothing 1 10
   rem *** Boat ***
   Ai.AddSearchType Boat
   rem *** LandingCraft ***
   Ai.AddSearchType LandingCraft
   rem *** Car ***
   rem *** Car ***
   Ai.AddSearchMap Car4 0 0 20 4.0 0.3 2.5 0
   Ai.AddSearchType Car 2 0
   Ai.SetMapSpawnPoints 2 1024/1024
   Ai.SetSmoothin 2 6


Go to the Ai properties list page, Ai page, All Properties list, or Main scripting page.