There may already be a feature and i apologise if there is, but i was wondering if it was possible to enable alarms only between certain waypoints. Example:
Enable alarms between waypoints 'Hunt' and 'Leave'
Printable View
There may already be a feature and i apologise if there is, but i was wondering if it was possible to enable alarms only between certain waypoints. Example:
Enable alarms between waypoints 'Hunt' and 'Leave'
bump#
sighned
Would be nice! :)
ye broski
you just need the following:
- 2 labels
- 2 xbst
- a few lua lines
- a brain
good luck!
Suggestions board.... :P
Anyway @Furpan (Pretty sure it was him :P) done a little one up awhile ago, you just need a bit of knowledge to set it up :P Basically you need to add 2 labels to your .xbst then add this code to your .lua config as a function.
Code:if (labelName == "EnablePlayerDetection")
DetectPlayer(1)
elseif (labelName == "DisablePlayerDetection")
DetectPlayer(0)
end
function DetectPlayer(type)
local file = io.open("..\\Settings\\tmp-detect.xbst", "w")
if type then
file:write('<panel name="Alarms">\n <control name="playerAlarm" value="'..type..'"/>\n</panel>')
else
file:write('<panel name="Alarms">\n <control name="playerAlarm" value="'..type..'"/>\n</panel>')
end
file:flush()
file:close()
loadSettings("tmp-detect", "Alarms")
end