DayZ
1.24
Loading...
Searching...
No Matches
ManTrigger.c
Go to the documentation of this file.
1
2
class
ManTrigger
:
Trigger
3
{
4
override
void
EOnInit
(
IEntity
other
,
int
extra
)
5
{
6
SetExtents
(
"-2 -2 -2"
,
"2 2 2"
);
7
}
8
9
override
protected
bool
CanAddObjectAsInsider
(
Object
object
)
10
{
11
return
object
.IsMan();
12
}
13
14
15
};
IEntity
Definition
EnEntity.c:164
ManTrigger
Trigger only accepting Object which IsMan()
Definition
ManTrigger.c:3
ManTrigger::CanAddObjectAsInsider
bool CanAddObjectAsInsider(Object object)
Definition
ManTrigger.c:9
ManTrigger::EOnInit
override void EOnInit(IEntity other, int extra)
Definition
ManTrigger.c:4
Object
Definition
ObjectTyped.c:2
Param3
Definition
EntityAI.c:95
Trigger
Scripted Trigger.
Definition
Hologram.c:1518
Trigger::SetExtents
void SetExtents(vector mins, vector maxs)
Set the size of the Trigger, avoid using SetCollisionBox directly.
Definition
Trigger.c:116
scripts
4_World
Entities
ScriptedEntities
Triggers
ManTrigger.c
Generated by
1.10.0