spacer graphic
spacer graphic
Montage of games AGS Logo
spacer graphic

 

spacer graphic
Menu
spacer graphic Home
About
News
Features
Download AGS
spacer graphic Games 
Games main page
Award Winners
Picks of the month
Short games
Medium length games
Full length games
In Production
Hints & Tips
Community
Forums
AGSers World Map
Member websites
Chat
Resources
Tutorials
FAQ
Knowledge Base
Downloads
Links
AGS-related links
* AGS Manual
  * Scripting
    * Character functions and properties

Scaling property (character)

int Character.Scaling
Gets/sets the character's current scaling level.

This property can always be read, and returns the character's current zoom level, which will be between 5 and 200 (the default being 100 if they are not currently scaled).

You can only set the value of this property if ManualScaling is enabled for the character; otherwise, the scaling is determined automatically based on the walkable area that the character is on.

Example:

cEgo.ManualScaling = true;
cEgo.Scaling = 50;
will tell EGO to ignore walkable area scaling levels and be fixed to 50% zoom level.

SeeAlso: Character.ManualScaling


User comments and notes
There are currently no user comments on this page.
The user comment facility is currently disabled.