OnWeaponChange

From Soldat Community Wiki
Revision as of 10:32, 15 August 2012 by Freeman (talk | contribs) (Created page with "===From the Scripting Manual=== ''procedure OnWeaponChange(ID, PrimaryNum, SecondaryNum: byte);'' '''Parameter Info:''' ID (Byte): Player ID of the player who has ch...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

From the Scripting Manual

 procedure OnWeaponChange(ID, PrimaryNum, SecondaryNum: byte);
 
 Parameter Info:
  ID (Byte): Player ID of the player who has changed weapons.
  PrimaryNum (Byte): Primary weapon number
  SecondaryNum (Byte): Secondary weapon number
 
 Description:
  This procedure will be called every time a player switches weapons, drops a weapon,
  picks up a weapon, and when they pick a gun from the respawn menu.

External Links