Xrepeat: Difference between revisions
Jump to navigation
Jump to search
Hendricks266 (talk | contribs) No edit summary |
Helixhorned (talk | contribs) added value range for xrepeat |
||
Line 11: | Line 11: | ||
See [[sizeat]] and [[sizeto]]. | See [[sizeat]] and [[sizeto]]. | ||
The range of values is 0 to 255, inclusive. | |||
[[Category:Sprite structure members]] | [[Category:Sprite structure members]] | ||
[[Category:Wall structure members]] | [[Category:Wall structure members]] |
Revision as of 11:20, 21 March 2012
xrepeat and yrepeat are the x and y scale of the sprite, respectively. These are the same values that are set by the sizeat command. Thus:
setactor[THISACTOR].xrepeat 40 setactor[THISACTOR].yrepeat 40
is equivalent to
sizeat 40 40
In the wall struct, xrepeat and yrepeat are the size\stretch of the texture used (if any).
The range of values is 0 to 255, inclusive.