function spawnKHHoverData(%obj,%pos,%start){ %client = %obj.client; if(isObject(%client.hd)) %loc = %client.hd.getPosition(); %xyPosA = getWords(%pos,0,1); %xyPosB = getWords(%loc,0,1); if(%xyPosA $= %xyPosB) return; //default Shape %off = -0.11; %sPos = vectorAdd(%pos,"0 0" SPC %off); %shape = new StaticShape() { datablock = ClimbEmptyData; position = %sPos; client = %client; scale = "0.2 0.2 0.1"; };missionCleanup.add(%shape); KHHoverDataDelete(%obj.client); %client.hd = %shape; %loc = %shape.getPosition(); %hack = %obj.getHackPosition();// echo("pos =" SPC %pos SPC " loc =" SPC %loc SPC " hack =" SPC %hack); if(getWord(%loc,2) > getWord(%pos,2)) echo("forgeted spawn up hover");}