Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
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
{
9
entity.GetInventory().CreateInInventory(
"GorkaHelmetVisor"
);
10
}
11
}
12
}
Class
Super root of all classes in Enforce script.
Definition
enscript.c:11
EntityAI
Definition
inventoryitem.c:2
HelmetBase
Definition
greathelm.c:2
HelmetBase::OnDebugSpawn
override void OnDebugSpawn()
Definition
gorkahelmetcomplete.c:4
Class::CastTo
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
Games
Dayz
scripts
4_world
entities
itembase
clothing
helmetbase
gorkahelmetcomplete.c
Generated by
1.17.0