Nuclide
Software Development Kit for id Tech
NSWeapon.qc File Reference

Functions

string weaponType (string weaponDef)
 
int weaponStartAmmo (string weaponDef)
 
int weaponMaxAmmo (string weaponDef)
 
bool weaponIsSemiAuto (string weaponDef)
 
string weaponInventoryType (string weaponDef)
 
float weaponFireTime (string weaponDef)
 
int weaponClipSize (string weaponDef)
 
string weaponClass (string weaponDef)
 
bool isWeaponClipOnly (string weaponDef)
 
bool isWeaponDetonationTimed (string weaponDef)
 
NSWeapon NSWeapon_SortWeaponChain (NSActor targetPlayer)
 
bool NSWeapon_CanSwitch (NSActor pl)
 
void NSWeapon_SelectWeapon (NSWeapon nextWeapon)
 
void NSWeapon_NextWeapon (NSActor pl)
 Select the next item in the list. More...
 
void NSWeapon_PrevWeapon (NSActor pl)
 Select the previous item in the list. More...
 
void NSWeapon_LastWeapon (NSActor pl)
 Select the previous item in the list. More...
 

Variables

NSWeapon m_nextWeapon
 
NSWeapon m_prevWeapon
 

Function Documentation

◆ NSWeapon_CanSwitch()

bool NSWeapon_CanSwitch ( NSActor  pl)

◆ NSWeapon_LastWeapon()

void NSWeapon_LastWeapon ( NSActor  pl)

Select the previous item in the list.

◆ NSWeapon_NextWeapon()

void NSWeapon_NextWeapon ( NSActor  pl)

Select the next item in the list.

◆ NSWeapon_PrevWeapon()

void NSWeapon_PrevWeapon ( NSActor  pl)

Select the previous item in the list.

◆ NSWeapon_SelectWeapon()

void NSWeapon_SelectWeapon ( NSWeapon  nextWeapon)

◆ NSWeapon_SortWeaponChain()

NSWeapon NSWeapon_SortWeaponChain ( NSActor  targetPlayer)

Variable Documentation

◆ m_nextWeapon

NSWeapon m_nextWeapon

◆ m_prevWeapon

NSWeapon m_prevWeapon