SetHardness(int, object)

Sets the hardness of a door or placeable.

void SetHardness(
    int nHardness,
    object oObject = OBJECT_SELF
);

Parameters

nHardness

Must be between 0 and 250.

oObject

A door or placeable object. (Default = OBJECT_SELF)


Description

Sets the hardness of a door or placeable.

Does nothing if used on an object that is neither a door nor a placeable.



Version

1.67

See Also

functions:  GetHardness
categories:  Action on Object Functions


author: Mistress