SetMapSpawnPoints Property

Usage:
   Ai.SetMapSpawnPoints number time/x[|time/x...] x/y

Argument values:

argument 1:    range is 0 to 4; most commonly 0, 1
argument 2:    100/100, 1000/1000, 1007.65/373.649, 1010.84/1010.1, 1016.39/907.678, 1024/1024, 1032.75/1184.25, 1100/1200, 1141.6/808.043,822.987/1226.31, 1180/665, 1182.19/818.567, 1190/665,997/919, 1210.84/1010.1, ...
argument 3:    [optional] 1040/1200, 1179.52/459.869

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

Used in a total of 31 .con files: Aipathfinding.con

Parent directory of these .con files: Bf1942/Levels

Example: (from Bf1942/Levels/Midway/AIpathFinding.con)
   if v_arg1 == host
   rem ----- Host
   rem ----------------------------------------------------------------------------
   rem *** pathfinding debug mode
   rem game.aiPathfindingDebuggingActive 1
   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 25 3.0 0.3 2.5 0
   Ai.AddSearchType Tank 0 0
   Ai.SetMapSpawnPoints 0 2123.25/2182.04
   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 2123.25/2182.04
   Ai.SetSmoothing 1 10
   rem *** Boat ***
   Ai.AddSearchMap Boat2 1 8 30 125.0 0.3 2.5 0 2 5
   Ai.AddSearchType Boat 2 2
   Ai.SetMapSpawnPoints 2 500/500
   Ai.SetSmoothing 2 20
   rem *** LandingCraft ***
   Ai.AddSearchMap LandingCraft3 1 1.4 30 4.0 0.3 2.5 0 2 5
   Ai.AddSearchType LandingCraft 3 2
   Ai.SetMapSpawnPoints 3 100/100
   Ai.SetSmoothing 3 20
   rem *** Car ***
   Ai.AddSearchMap Car4 0 0 25 3.0 0.3 2.5 0
   Ai.AddSearchType Car 4 0
   Ai.SetMapSpawnPoints 4 2123.25/2182.04
   Ai.SetSmoothing 4 6


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