Divergent/mods/Enhanced Graphical User Int.../gamedata/scripts/ab_move_notification.script

21 lines
432 B
Plaintext
Raw Normal View History

2024-03-17 20:18:03 -04:00
notify_icon_x = 980
notify_icon_y = 567
function monkey() end
monkey = actor_menu.set_notification
function monkey_notify(typ, texture, tm, snd)
monkey(typ, texture, tm, snd)
local hud = get_hud()
if(hud) then
cs = hud:GetCustomStatic("notify_icon")
pos = cs:wnd():GetWndPos()
pos.x = notify_icon_x
pos.y = notify_icon_y
cs:wnd():SetWndPos(pos)
end
end
actor_menu.set_notification = monkey_notify