Divergent/mods/Groks Body Health System Redux/gamedata/scripts/ab_move_notification.script

18 lines
412 B
Plaintext
Raw Normal View History

2024-03-17 20:18:03 -04:00
notify_icon_x = 13
notify_icon_y = 620
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