thanks delpi for the reply!
In my mission folder these are the entries about _MaxDist.
Elevator Script
private ["_obj","_maxElevatorId","_maxDistance","_id","_eid","_idTemp","_idStr"];
_maxDistance = 500;
} forEach ((getPos _obj) nearObjects [ELE_PlatformClass, _maxDistance])...