blob: 11018ceabdabeac82b70834d3e5945d2d395651a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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 )
}
*/
}
|