SS1984 - Modules - Types — Var Details - Proc Details

ammo

HUD ammo indicator

Displays a number and an icon representing the ammo.

Vars

ammo_screen_loc_listList of possible screen locs
backing_colorThis is the color assigned to the OTH backing, numbers and indicator.
flash_holderHolder for playing a out of ammo animation so that it doesnt get cut during updates
warnedIf the user has already had their warning played for running out of ammo

Procs

add_hudwrapper to add this to the users screen with a owner
remove_hudwrapper to removing this ammo hud from the users screen
set_hudused for ammo overlay colours
update_hudactually handles upadating the hud

Var Details

ammo_screen_loc_list

List of possible screen locs

backing_color

This is the color assigned to the OTH backing, numbers and indicator.

flash_holder

Holder for playing a out of ammo animation so that it doesnt get cut during updates

warned

If the user has already had their warning played for running out of ammo

Proc Details

add_hud

wrapper to add this to the users screen with a owner

remove_hud

wrapper to removing this ammo hud from the users screen

set_hud

used for ammo overlay colours

update_hud

actually handles upadating the hud