• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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