WeaponReady

From Eternity Wiki
Jump to navigationJump to search

Description

WeaponReady is a player weapon codepointer. This codepointer readies the player's gun to fire or to change to another weapon. It should be called from any weapon's ready state.

Usage

A_WeaponReady(flags)

Parameters

  • flags: optional, can be WRF_NOBOB if mentioned. Disables weapon bobbing.

Examples

A_WeaponReady

A_WeaponReady(WRF_NOBOB)

Notes

This pointer also plays the chainsaw's idle sound, as determined by weaponinfo readysound.

See also