SetHardness

From NWN Lexicon
Jump to navigationJump to search


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



author: Mistress