SetObjectVisualTransform(object, int, float)

From NWN Lexicon
Revision as of 07:38, 6 May 2018 by Shadguy (talk | contribs) (Parameters)
Jump to: navigation, search
Nwnee logo.jpg Note: This article documents Neverwinter Nights: Enhanced Edition new content or changes/updates/fixes to 1.69 functions. These are all listed under the category and patches pages.
Sets a visual transform on the given object.
float SetObjectVisualTransform(object oObject, int nTransform, float fValue);

Parameters

oObject
Can be any valid Creature, Placeable, Item or Door.
nTransform
An OBJECT_VISUAL_TRANSFORM_* constant specifying the tranform type to apply
fValue
Depends on the transformation to apply.

Description

Sets a visual transform on the given object.

Returns the old/previous value.

Remarks

Information icon.png This section of the article is a stub. You can help the NWN Lexicon by expanding it.

Version

1.74.8169

Example

Information icon.png This article is in need of examples. You can help the NWN Lexicon by showing how to use this code effectively.

See Also

functions: GetObjectVisualTransform()
constants: OBJECT_VISUAL_TRANSFORM_* Constant Group

 author: Shadguy