Difference between revisions of "SetObjectVisualTransform"

From NWN Lexicon
Jump to: navigation, search
(See Also)
(Parameters)
Line 9: Line 9:
 
: Can be any valid Creature, Placeable, Item or Door.
 
: Can be any valid Creature, Placeable, Item or Door.
 
; nTransform  
 
; nTransform  
: An OBJECT_VISUAL_TRANSFORM_* constant specifying the tranform type to apply
+
: An [[OBJECT_VISUAL_TRANSFORM | OBJECT_VISUAL_TRANSFORM_*]] constant specifying the tranform type to apply
 
; fValue
 
; fValue
 
: Depends on the transformation to apply.
 
: Depends on the transformation to apply.

Revision as of 07:38, 6 May 2018

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