DayZ
1.24
Loading...
Searching...
No Matches
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
entity
.GetInventory().CreateInInventory(
"GorkaHelmetVisor"
);
9
}
10
}
Class
Super root of all classes in Enforce script.
Definition
EnScript.c:11
EntityAI
Definition
Building.c:6
HelmetBase
Definition
GreatHelm.c:2
HelmetBase::OnDebugSpawn
override void OnDebugSpawn()
Definition
GorkaHelmetComplete.c:4
Param3
Definition
EntityAI.c:95
Class::CastTo
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
scripts
4_World
Entities
ItemBase
Clothing
HelmetBase
GorkaHelmetComplete.c
Generated by
1.10.0