Page MenuHomeFeedback Tracker

Terrain objects is <NULL-object> in EpeContact* events handlers
New, NormalPublic


Operating System
Windows 10 x64
Operating System Version
1709 build 16299.125
Steps To Reproduce
  1. Open editor
  2. Place vehicle with driver
  3. Fill vehicle driver init code:
(vehicle player) addEventHandler ["EpeContactStart", {
    systemChat format["EpeContactStart: %1", _this];
(vehicle player) addEventHandler ["EpeContact", {
    systemChat format["EpeContact: %1", _this];
(vehicle player) addEventHandler ["EpeContactEnd", {
    systemChat format["EpeContactEnd: %1", _this];
  1. Start mission as vehicle driver
  2. Drive the vehicle to any TERRAIN object - walls, fences, lamps etc.
  3. See systemChat messages:
EpeContactStart: [R Alpha 1-1:1 (playerName),<NULL-object>,"","",0]
EpeContact: [R Alpha 1-1:1 (playerName),<NULL-object>,"","",668.879]
EpeContactEnd: [R Alpha 1-1:1 (playerName),<NULL-object>,"","",0]
Additional Information

There would be no questions, but some objects returned correctly:

EpeContactStart: [R Alpha 1-1:1 (playerName),26f7aec9600# 1121126: lampstreet_small_f.p3d,"","",0]
EpeContact: [R Alpha 1-1:1 (playerName),26f7aec9600# 1121126: lampstreet_small_f.p3d,"","",154.578]
EpeContactEnd: [R Alpha 1-1:1 (playerName),26f7aec9600# 1121126: lampstreet_small_f.p3d,"","",0]

Such a difference seems to me a bug.

Event Timeline

microbe created this task.Mar 1 2018, 12:18 PM
microbe edited Steps To Reproduce. (Show Details)
microbe edited Steps To Reproduce. (Show Details)Mar 1 2018, 12:21 PM
microbe edited Steps To Reproduce. (Show Details)
microbe edited Additional Information. (Show Details)
microbe changed Severity from None to Minor.Jun 13 2019, 5:24 AM
microbe changed Category from Engine to Scripting.