mounted

Vars | |
has_anchored_sprite | If the gun has different sprites for being anchored. |
---|---|
user_old_move_resist | Stores user old move resist and apply on unset interaction |
user_old_x | Store user old pixel x |
user_old_y | Store user old pixel y |
Procs | |
can_fire | Checks if you can fire |
change_target | Happens when you drag the mouse. |
check_eye | makes sure you can see and or use the gun |
hud_set_gun_ammo | Makes mounted guns ammo visible |
interact | This is called when a user tries to operate the gun |
on_set_interaction | Sets the user as manning the internal gun |
on_unset_interaction | Unsets the user from manning the internal gun |
reload | Reloads the internal_item |
start_fire | Begins the Firing Process, does custom checks before calling the guns start_fire() |
update_icon_state | generates the icon based on how much ammo it has. |
update_pixels | Updates the pixel offset of user so it looks like their manning the gun from behind |
Var Details
has_anchored_sprite

If the gun has different sprites for being anchored.
user_old_move_resist

Stores user old move resist and apply on unset interaction
user_old_x

Store user old pixel x
user_old_y

Store user old pixel y
Proc Details
can_fire
Checks if you can fire
change_target
Happens when you drag the mouse.
check_eye
makes sure you can see and or use the gun
hud_set_gun_ammo
Makes mounted guns ammo visible
interact
This is called when a user tries to operate the gun
on_set_interaction
Sets the user as manning the internal gun
on_unset_interaction
Unsets the user from manning the internal gun
reload
Reloads the internal_item
start_fire
Begins the Firing Process, does custom checks before calling the guns start_fire()
update_icon_state
generates the icon based on how much ammo it has.
update_pixels
Updates the pixel offset of user so it looks like their manning the gun from behind