OnSiegeWeaponPull
Usage
- Return a non-null value or bool to override default behavior
Example Autogenerated
csharp
private void OnSiegeWeaponPull( BaseSiegeWeapon instance, BasePlayer player )
{
Puts( "OnSiegeWeaponPull works!" );
}
Location
- BaseSiegeWeapon::SERVER_StartPulling(BaseEntity/RPCMessage msg)
csharp
//---
}
if (this.rigidBody == null)
{
return;
}
if (Interface.CallHook("OnSiegeWeaponPull", this, msg.player) != null)
{
return;
}
if (base.OnlyOwnerAccessible() && player != this.creatorEntity)
{
//---