Xrepeat

From EDukeWiki
Revision as of 18:09, 5 October 2006 by Hendricks266 (talk | contribs)
Jump to navigation Jump to search

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).

See sizeat and sizeto.