268 {
270 {
272 int index = Math.RandomInt(0,arrayCount);
274 {
275 index++;
276 if (index >= arrayCount)
277 {
278 index = 0;
279 }
280 }
281
284
285 if (frame)
286 {
287 int screenX,screenY;
288 float x,
y,x_size,y_size;
289 frame.GetScreenPos(
x,
y);
290 frame.GetScreenSize(x_size,y_size);
291
292 x = Math.RandomFloatInclusive(
x,
x+x_size);
293 y = Math.RandomFloatInclusive(
y,
y+y_size);
294
296 }
297 }
298 return vector.Zero;
299 }
ref array< Widget > m_PositioningFramesArray
int m_LastPositionFrameUsed
proto native vector Vector(float x, float y, float z)
Vector constructor from components.