&& (/** \nCondition: *//***tag:Condition*//**/fabs(zloc(currentCP) - zloc(agvinfo(agv, AGV_DEST_CP))) > zsize(agv)/**/)) { // if it's a pointer, then do the initial case - K. }% I* f4 \7 f' e
// initial trigger execution4 `- W5 {! d1 ^7 Q
#define ON_ELEVATOR_START 13 }1 n$ b) D# Z
#define ON_ELEVATOR_PICKUP_ARRIVAL 2 ! Q, E ~' ^$ a: e
// find the closest floor control point @7 d: @! h, f" N6 f
int floorCPCon = cpconnection(0, /** \nFloor Control Point Connection:*//***tag:FloorCPs*//**/"Destination"/**/, 0);0 C) Y* r4 h0 O' c$ ?3 W/ H# `8 R' z
treenode curFloorCP = findmin(cpnumconnections(elev, floorCPCon), 5 Y5 s$ Q, h$ o9 {! C* d
fabs(zloc(agv) - zloc(cpconnection(elev, floorCPCon, count))),2 ?2 L5 p- R/ l