DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ KillEntitiesInArea()

void KillEntitiesInArea ( )
protected

См. определение в файле GeyserArea.c строка 89

90 {
91 array<Object> nearestObjects = new array<Object>();
92 GetGame().GetObjectsAtPosition(m_Position, m_Radius, nearestObjects, null);
93
94 foreach (Object obj : nearestObjects)
95 {
96 EntityAI entity = EntityAI.Cast(obj);
97 if (entity)
98 entity.ProcessDirectDamage(DamageType.CUSTOM, this, "", "HeatDamage", "0 0 0", 1000);
99 }
100 }
float m_Radius
Определения AIGroupBehaviour.c:10
DamageType
exposed from C++ (do not change)
Определения DamageSystem.c:11
vector m_Position
Cached world position.
Определения Effect.c:41
proto native void GetObjectsAtPosition(vector pos, float radius, out array< Object > objects, out array< CargoBase > proxyCargos)
Returns list of all objects in circle "radius" around position "pos".
Определения Building.c:6
Определения ObjectTyped.c:2
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
proto native CGame GetGame()

Перекрестные ссылки GetGame(), CGame::GetObjectsAtPosition(), m_Position и m_Radius.

Используется в TickState().