gorkahelmetcomplete.c 240 B

123456789101112
  1. class GorkaHelmet extends HelmetBase
  2. {
  3. //Debug menu Spawn Ground Special
  4. override void OnDebugSpawn()
  5. {
  6. EntityAI entity;
  7. if ( Class.CastTo(entity, this) )
  8. {
  9. entity.GetInventory().CreateInInventory( "GorkaHelmetVisor" );
  10. }
  11. }
  12. }