--
[ Picked text/plain from multipart/alternative ]
I think that you need to create the method OnTakeDamage(),
int CMissle::OnTakeDamage( const CTakeDamageInfo &info )
{
if ( info.GetDamageType() & DMG_BULLETS )
{
CTakeDamageInfo dmgInfo = info;
dmgInfo.ScaleDamage( 10.0 );
return BaseClass::OnTakeDamage( dmgInfo );
}
return BaseClass::OnTakeDamage( info );
}
--
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders