View Single Post
09-16-09, 06:30 PM   #1188
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view addons
Join Date: May 2006
Posts: 918
Code:
self.Health:CreateTexture
is right, this was just meant to be an example and I copy and pasted some code where I replaced all instances of "health" with "resting" to match your example. It however replaced also one wrong instance.

These 2 set points tell the game to start drawing the first edge of the rectangle at the first set point to the "last" edge of the rectangle at the second set point. It only needs to know 2 edges out of 4 because the others are defined by being logic (don't know how to describe it better in English, sorry).

Code:
1---X
|   |
|   |
X---2