HS-OBJECT-ATTRS

From HSpace

Jump to: navigation, search

HS-OBJECT-ATTRS

Probably one of the most enjoyable features of HSpace is that every object can be manipulated and modified through its attributes. From changing the name of the object to changing the size, most aspects of an object are available to change. Each type of HSpace object, be it a ship, a nebula, or a missile, possesses attributes that you can change and retrieve. Because objects are often derived from "base objects," many objects will share similar attributes with other objects. All objects share at least the base, NOTYPE object attributes. These are as follows:

  • NAME : Name of the object as viewed in space.
  • SIZE : Size of the object from 1 .. n.
  • X  : X coordinate of the object in space.
  • Y  : Y coordinate of the object in space.
  • Z  : Z coordinate of the object in space.
  • UID  : Universe ID of the universe the object belongs to.
  • TYPENAME: The typename of this particular object. Defaults are based on the particular object type. Typename is displayed on ship sensor reports. Defaults are Ship, Base (ship with no engine system), Planet, Black Hole, Wormhole, Missile, Nebula, Asteroids, or Unknown for NOTYPE objects.

Beyond these attributes, the various types of objects may provide a plethora of additional attributes for you to modify and manipulate. Some objects may provide many attributes, while others may provide few.

For a list of attributes that are settable and retrievable for each object, refer to each object's attributes section: HS-ASTEROID-ATTRS, HS-BLACKHOLE-ATTRS, HS-NEBULA-ATTRS, HS-PLANET-ATTRS, HS-WORMHOLE-ATTRS, HS-FICTIONAL

See also: HS-OBJECTS, HS-TYPES

Views
Personal tools