Difference between revisions of "OnWeaponChange"

From Soldat Community Wiki
Jump to: navigation, search
(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...")
 
m (From the Scripting Manual)
 
Line 9: Line 9:
 
   '''Description:'''
 
   '''Description:'''
 
   This procedure will be called every time a player switches weapons, drops a weapon,
 
   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.
+
   picks up a weapon, and when they pick a gun from the re-spawn menu.
  
 
==External Links==
 
==External Links==

Latest revision as of 20:18, 12 April 2018

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 re-spawn menu.

External Links