onVehicleGroupSpawned
Definition
-- @/lua/ge/extensions/gameplay/traffic.lua:945
local function onVehicleGroupSpawned(vehList, groupId, groupName)
if groupName == 'autoParking' then
if not spawnProcess.trafficSetup then
if spawnProcess.waitForUi then
guihooks.trigger('app:waiting', false)
guihooks.trigger('QuickAccessMenu')
end
table.clear(spawnProcess)
end
end
if groupName == 'autoTraffic' then
spawnProcess.vehList = vehList
activate(spawnProcess.vehList)
end
end
Callers
@/lua/ge/extensions/flowgraph/nodes/gameplay/traffic/trafficSpawnGroup.lua
function C:onVehicleGroupSpawned(vehIds, groupId)
if self.state == 1 and self.groupId == groupId then
@/lua/ge/extensions/editor/multiSpawnManager.lua
local function onVehicleGroupSpawned()
spawnState = 0
@/lua/ge/extensions/gameplay/parking.lua
local function onVehicleGroupSpawned(vehList, groupId, groupName)
if groupName == "autoParking" then