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

Baseline property (character)

(Formerly known as SetCharacterBaseline, which is now obsolete)

int Character.Baseline
Gets/sets the character's baseline. This allows you to set a specific base line for the character, which works similarly to walk-behind area and object baselines.

The baseline can be from 1 to the height of the room (normally 200), or set it to 0 to go back to using the character's feet as the baseline.

Example:

cEgo.Baseline = 120;
will move the character's baseline (which can be used for testing collisions, or for walk-behinds) to a line positioned at y coordinate = 120.

See Also: Object.Baseline, SetWalkBehindBase


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