DayZ 1.24
Loading...
Searching...
No Matches
ManTrigger.c
Go to the documentation of this file.
1
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};
Trigger only accepting Object which IsMan()
Definition ManTrigger.c:3
bool CanAddObjectAsInsider(Object object)
Definition ManTrigger.c:9
override void EOnInit(IEntity other, int extra)
Definition ManTrigger.c:4
Scripted Trigger.
Definition Hologram.c:1518
void SetExtents(vector mins, vector maxs)
Set the size of the Trigger, avoid using SetCollisionBox directly.
Definition Trigger.c:116