This page is for short, useful scripting examples.
this = object in init field.
Move an object to the highest surface (roof).
this setVehiclePosition [[(getPos this) select 0, (getPos this) select 1, 1000000], , 0, "CAN_COLLIDE"]
Replace the 1,000,000 with a height to move it to the nearest surface below that height. ‘this’ can be any unit, vehicle or object.