DayZ 1.24
Loading...
Searching...
No Matches
GorkaHelmetComplete.c
Go to the documentation of this file.
1class GorkaHelmet extends HelmetBase
2{
3 //Debug menu Spawn Ground Special
4 override void OnDebugSpawn()
5 {
7 if (Class.CastTo(entity, this))
8 entity.GetInventory().CreateInInventory("GorkaHelmetVisor");
9 }
10}
Super root of all classes in Enforce script.
Definition EnScript.c:11
override void OnDebugSpawn()
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.