SETCLASS

From HSpace

Jump to: navigation, search

@SPACE/SETCLASS

Usage: @space/setclass <class ID>/<attr>=<value>

Like @space/set, the @space/setclass sets the <value> of the specified <attr> but for the given <class ID> instead of a given HSpace object. This is useful only for ship classes, which provide the foundation attributes for all ships in the game. Rather than setting attributes on each individual ship, setting the attribute on the class allows all ships of that class to use the value. The only exception is when the class attributes are "overridden" by using @space/set with the same attribute name on the ship object. The value is then set on the specific ship instead of for the class. Any changes to the same attribute on the class will no longer affect the ship.

See also: @space/set, @space/setsysclass

Views
Personal tools