GE Lua Documentation

Press F to search!

triggerEventWithoutVdata

Definition


-- @/lua/ge/extensions/core/vehicleTriggers.lua:561

-- executed by C++ side (typically VR controllers)
local function triggerEventWithoutVdata(actionNum, actionValue, triggerId, vehicleId)
  local vData = extensions.core_vehicle_manager.getVehicleData(vehicleId)
  local actionStr = 'action'..tostring(actionNum)
  return triggerEvent(actionStr, actionValue, triggerId, vehicleId, vData.vdata)
end

Callers