• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

function SetRect()

Status
Not open for further replies.
Level 10
Joined
Sep 21, 2007
Messages
517
What does the function SetRect() do? does it move the region to the following min/max values?

Here is the code, its a native tho:
JASS:
native SetRect takes rect whichRect, real minx, real miny, real maxx, real maxy returns nothing
If the function does not move a rect, how can i move a rect to a place and change its respective min/max values? (minX, minY, maxX, maxY)

The problem is, not only do i want to move the rect, but i also want to change its size every like 0.04 seconds so i need to find an effective solution.

Thanks for your time
 
Status
Not open for further replies.
Top