169 {
170 float pos_x = pos[0];
171 float pos_z = pos[2];
173 vector tmp_pos =
Vector(pos_x, pos_y, pos_z);
174 tmp_pos[1] = tmp_pos[1] + pos[1];
175
176 return tmp_pos;
177 }
proto native float SurfaceY(float x, float z)
proto native CGame GetGame()
proto native vector Vector(float x, float y, float z)
Vector constructor from components.