Skip to content

AI, Spawning & Enemy Activity

35 pages · all function themes

The Tracker/Overlord enemy system, Onslaught, random sites, AI skill and waypoints, transport insertion, and ambient spawns.

FunctionDescription
VN_fnc_module_onslaught Module init for the Onslaught module system, gathers and spawns units at predefined spawn points and gives …
VN_fnc_module_site Internal BIS function for sites
vn_ms_fnc_aiHeliTransport No description added yet.
VN_ms_fnc_aiHeliTransportAddAction Add skip AI insertion travel hold action.
VN_ms_fnc_aiHeliTransportSkip Skip AI insertion travel - uses the group leader’s vehicle. The fade to black lasts 1 second, the default …
VN_ms_fnc_aiSetSkill Configure unit skills. These are tuned for infantry jungle-fighting, and may not work as well on vehicle …
VN_ms_fnc_deleteWaypoints Remove all current group waypoints and reset their pathing.
vn_ms_fnc_driveOnEditorPath Order vehicle to follow the path created from objects placed in specified editor layer. Vehicle will start …
VN_ms_fnc_spawnAmbHeli Spawn a helicopter (50m) in the air near a given position and let it fly away (towards [0,0,0]). The …
VN_ms_fnc_tracker_attackArea Spawn waves attacking an area. Uses VN_ms_fnc_tracker_positionVisible, VN_ms_fnc_tracker_getHiddenPos and …
VN_ms_fnc_tracker_getAOPlayers Gets players in a AO that are valid targets (alive and on foot).
VN_ms_fnc_tracker_getHiddenPos Search for hidden postion around target position.
VN_ms_fnc_tracker_getSpiralPositions Get positions in spiral with given radius. Useful for patrols. params [ ["_center", getPos player, [[], …
vn_ms_fnc_tracker_onPlayerFired Handles fired event to notify patrolling units etc.
VN_ms_fnc_tracker_overlord_getGroups Get groups array from Overlord FSM.
VN_ms_fnc_tracker_overlord_init Initializes Overlord on an area.
VN_ms_fnc_tracker_positionValid Checks if position is valid for AI group spawn.
VN_ms_fnc_tracker_positionVisible Checks if position is visible for any of unit in group.
VN_ms_fnc_tracker_preInit Tracker system preInit. Uses VN_ms_fnc_tracker_tracksCreate and VN_ms_fnc_tracker_receiveNoise.
VN_ms_fnc_tracker_receiveNoise Handle client generated noise - slightly (0.01) reveals the shooter to surrounding units, friends or foes.
VN_ms_fnc_tracker_spawnGroup Spawns a group and potential vehicles based on [configFile](https://community.bistudio.com/wiki/configFile) >> …
VN_ms_fnc_tracker_stalker_airShoot Forces unit to shoot into the sky.
VN_ms_fnc_tracker_tracksCreate Creates tracks marker on unit position.
VN_ms_fnc_tracker_tracksLoop Loop that monitors player speed and periodicaly leaves tracks on his position.
vn_ms_fnc_waypoint_captureDriveOnPath No description added yet.
VN_ms_module_fnc_randomSite_executorInit Executes user code from editor on objects synced to executor module.
VN_ms_module_fnc_randomSite_selectorInit Selects random sites liked to selector module.
VN_ms_module_fnc_randomSite_siteDelete Deletes site module and its associated objects.
VN_ms_module_fnc_randomSite_siteInit Initializes site module.
VN_ms_module_fnc_tracker_ao Tracker Area of Operations module intialisation.
VN_ms_module_fnc_tracker_aoDynamicSimToggle Toggle dynamic simulation for existing groups - the setting will not apply to groups spawned after execution. …
VN_ms_module_fnc_tracker_aoGroups Get groups array from Overlord AO module.
vn_ms_module_fnc_tracker_aoRemoveGroups Remove EXISTING groups managed by Tracker AO module.
vn_ms_module_fnc_tracker_fortification Tracker Fortification position module intialization.
vn_ms_module_fnc_tracker_reinforcements No description added yet.