Usage:
Ai.SetSmoothing
number number
Argument values:
argument 1: | range is 0 to 4; most commonly 0 |
argument 2: | range is 6 to 20; most commonly 20 |
This property is not a part of any defined type of object.
Used in a total of 24 .con files: Aipathfinding.con
Parent directory of these .con files: Bf1942/Levels
Example: (from Bf1942/Levels/Battle_of_Britain/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 ***
rem ai.setNSearchTypes 2 *** DEPRICATED ***
rem *** Set number of AStar resources ***
Ai.NumAStarResources 10
rem *** Setup map parameters ***
rem *** searchMap name/waterHeight/waterDepth/maxSlope/brush/lowClipLevel/hiClipLevel/considerAITypes
rem *** searchType name/mapNum/minSearchLevel
rem *** Tank ***
Ai.AddSearchMap Tank0 0 0 30 3.0 0.3 2.5 0
Ai.AddSearchType Tank 0 0
Ai.SetMapSpawnPoints 0 1231/1608,438/338
Ai.SetSmoothing 0 20
rem *** Infantry ***
Ai.AddSearchMap Infantry1 0 1.5 30 1.0 0.4 2.0 1
Ai.AddSearchType Infantry 1 0
Ai.SetMapSpawnPoints 1 1231/1608,438/338
Ai.SetSmoothing 1 10
Go to the Ai properties list page, Ai page, All Properties list, or Main scripting page.