Yrepeat: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
mNo edit summary
added value range for yrepeat
 
Line 8: Line 8:


sizeat 40 40
sizeat 40 40
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]]

Latest revision as of 11:21, 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

The range of values is 0 to 255, inclusive.