A_SetScale

From ZDoom Wiki
Jump to: navigation, search

A_SetScale (float scaleX[, float scaleY]) (development version r3000+ only)

Changes the calling actor's visual scale. This does not affect the actual collision box and is mainly intended for special effects actors, such as a puff of smoke gradually dissipating by expansion (in combination with A_FadeOut) or a mote of light shrinking and disappearing.

  • scaleX: the actor's new horizontal scale.
  • scaleY: the actor's new vertical scale. If this parameter is not given, or is set to 0, scaleX is used as well.

Examples

Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contibutions are greatly appreciated.
Personal tools
Namespaces

Variants
Actions
Navigation
ACS
DECORATE
ZDoom mods
Toolbox