byond - Modules - TypesVar Details - Proc Details

ammo

HUD ammo indicator

Displays a number and an icon representing the ammo for up to 4 at a time

Vars

ammo_screen_loc_listList of possible screen locs
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
update_hudactually handles upadating the hud

Var Details

ammo_screen_loc_list

List of possible screen locs

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

update_hud

actually handles upadating the hud