Body (object)

From GCAWiki

Jump to: navigation, search

The Body object is primarily used in the Body collection. It is used to access character body locations.

Contents

Properties & functions

Count

Description: Returns the number of traits in the collection.

Prototype: Count

Parameters: none

Returns: [Long] The number of traits in the collection.

Example:

Char.Body.Count

DB

Description: Returns the defense bonus of the location.

Prototype: DB

Parameters: none

Returns: [String] The defense bonus of the location.

Example:

Char.Body(LocId).DB

Display

Description: Returns the whether the location should be displayed.

Prototype: Display

Parameters: none

Returns: [Boolean] True if the location should be displayed or False if not.

Example:

Char.Body(LocId).Display

DR

Description: Returns the damage resistance of the location.

Prototype: DR

Parameters: none

Returns: [String] The damage resistance of the location.

Example:

Char.Body(LocId).DR

HP

Description: Returns the crippling hit point threshold of the location.

Prototype: HP

Parameters: none

Returns: [String] The crippling hit point threshold of the location.

Example:

Char.Body(LocId).HP

Name

Description: Returns the name of the location.

Prototype: Name

Parameters: none

Returns: [String] The name of the location.

Example:

Char.Body(LocId).Name

See also

Personal tools