Xrepeat: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 2: Line 2:


setactor[THISACTOR].xrepeat 40
setactor[THISACTOR].xrepeat 40
setactor[THISACTOR].yrepeat 40
setactor[THISACTOR].yrepeat 40



Revision as of 09:18, 19 July 2006

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