Yrepeat: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Jblade (talk | contribs)
mNo edit summary
added value range for yrepeat
 
(One intermediate revision by one other user not shown)
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]]

Latest revision as of 12: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.