SetPersonScaleAbsolute

From Spheriki

Jump to: navigation, search

Rescales the sprite of a person to a given width and height.


Contents

Usage

SetPersonScaleAbsolute(name, width, height);
  • name String. The name of the person whose sprite should be resized.
  • width Number. The new width of the person's sprite, in pixels.
  • height Number. The new height of the person's sprite, in pixels.


Examples

To make a person named "Eddy" look 30 pixels wide and 50 tall:

SetPersonScaleAbsolute("Eddy", 30, 50);


Notes


See also

Personal tools