-
Notifications
You must be signed in to change notification settings - Fork 40
Custom compass items and custom ranges
diwako edited this page Oct 1, 2020
·
2 revisions
As of version 1.5.4 DUI supports custom compass items and custom ranges on them. The module this belongs to is the radar
module.
With this update one new missionNameSpace
variables were added, diwako_dui_radar_oddDirectionCompasses
.
The namespace is being initialized during pre init, meaning it is available in post init, init.sqf
, initPlayerLocal.sqf
, initServer.sqf
and any time after these are being run!
diwako_dui_radar_oddDirectionCompasses
is a namespace, meaning you read and add to it with the commands getVariable
and setVariable
. The namespace uses the compass item class name as key and the value it is expecting is a number. If the compass item is not found, it is assumed the compass is using 360°.