#Floating Help Notify

1 messages · Page 1 of 1 (latest)

past yoke
#
function ShowFloatingHelpNotification(msg, coords)
    if GetLabelText('MessageText') == 'NULL' then
        AddTextEntry('MessageText', msg)
    end
    SetFloatingHelpTextWorldPosition(1, coords.x, coords.y, coords.z)
    -- Index | Unk (only takes -1) | BG Color | Unk | Pointer Pos 0-4 | Unk
    SetFloatingHelpTextStyle(1, 0, 2, -1, 0, 0)
    BeginTextCommandDisplayHelp('MessageText')
    EndTextCommandDisplayHelp(2, false, false, -1)
end

CreateThread(function()
    while true do
        Wait(50)
        coords = vector3(134.55, -146.42, 66.12)
        ShowFloatingHelpNotification('~INPUTGROUP_VEH_MOVE_ALL~ ~EX_R*~ ~ws~ ~n~ ~WS~ ~r~ Wanna Start a Quest? ~PAD_RSTICK_DOWN~', coords)
    end
end)

last ridge
#

@near timber

near timber
#

AJ berkie and me def didn't research this in VC together

last ridge
#

how would I know

last ridge
#

the 2nd integer in SetFloatingHelpTextStyle enables/disables the pointer