I just got a truckload of ad carrier skins in for my Ultimate Configuration Pack, and now there's about 15. Is there a way to make the config choose a random one at spawn? Thanks
you can create a LUA module which once your skin is detected will choose one randomly Code: -- This Source Code Form is subject to the terms of the bCDDL, v. 1.1. -- If a copy of the bCDDL was not distributed with this -- file, You can obtain one at http://beamng.com/bCDDL-1.1.txt local M = {} local data = {} local function onLoad() if v.userPartConfig.ad_skin~= nil then --do something end end local function onReset() onLoad() --when you reset the car end local function updateGFX(dt) end -- public interface M.onLoad = onLoad M.onReset = onReset M.updateGFX = updateGFX return M