diff options
Diffstat (limited to 'Northstar.CustomServers/scripts/vscripts/class/cbasecombatcharacter.nut')
-rw-r--r-- | Northstar.CustomServers/scripts/vscripts/class/cbasecombatcharacter.nut | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Northstar.CustomServers/scripts/vscripts/class/cbasecombatcharacter.nut b/Northstar.CustomServers/scripts/vscripts/class/cbasecombatcharacter.nut new file mode 100644 index 00000000..11018cea --- /dev/null +++ b/Northstar.CustomServers/scripts/vscripts/class/cbasecombatcharacter.nut @@ -0,0 +1,28 @@ +untyped + +global function CodeCallback_RegisterClass_CBaseCombatCharacter + +function CodeCallback_RegisterClass_CBaseCombatCharacter() +{ + CBaseCombatCharacter.ClassName <- "CBaseCombatCharacter" + + RegisterSignal( "ContextAction_SetBusy" ) // signalled from ContextAction_SetBusy() in code + + + /* + CBaseCombatCharacter.__SetActiveWeaponByName <- CBaseCombatCharacter.SetActiveWeaponByName + function CBaseCombatCharacter::SetActiveWeaponByName( weapon ) + { + printt( "set active weapon " + weapon + " for " + this ) + return this.__SetActiveWeaponByName( weapon ) + } + + CBaseCombatCharacter.__TakeWeapon <- CBaseCombatCharacter.TakeWeapon + function CBaseCombatCharacter::TakeWeapon( weapon ) + { + // printt( "Take weapon " + weapon + " from " + this ) + return this.__TakeWeapon( weapon ) + } + + */ +} |