Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
gorkahelmetcomplete.c
Go to the documentation of this file.
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 }
OnDebugSpawn
class Hatchback_02_Blue extends Hatchback_02 OnDebugSpawn
Definition: hatchback_02.c:404
HelmetBase
Definition: greathelm.c:1
Class
Super root of all classes in Enforce script.
Definition: enscript.c:10
EntityAI
Definition: building.c:5