Quote:
Originally Posted by WrathOfGenesis
I've created a few custom buildings in my gamemode and I've created an override of sorts as below:
pawn Код:
GetZFromXY ( Float: X , Float: Y , & Float: Z ) { MapAndreas_GetZ_From2DCoord ( X , Y , Z );
if ( X > OverrideXMin && Y > OverrideYMin && X < OverrideXMax && Y < OverrideYMax ) { Z = OverrideZ; } }
Where Override values are the X and Y values for the area below the bridge and Z is the height below the bridge.
Very basically, this just gets the Z coord from Map Andreas but will force a different output if the X and Y coordinates fall within the "override" area (in this case, under the bridge).
|
It was my first idea. But i think that what [uL]Pottus said make more sense.
Thank you too guys, you won rep+