SetModelPath - Weapon

From the CreationKit Wiki
Jump to navigation Jump to search

SKSE Member of: Weapon Script

Changes the path to the file representing the in-game model of this weapon. (This function requires SKSE)

Syntax[edit | edit source]

Function SetModelPath(string path) native

Parameters[edit | edit source]

  • path: The new file path of the weapon's in-game model (how it looks when dropped on the ground). File path originates in Data\Meshes\ folder.

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Sets the file path to a "Weapons\Iron\IronClaymore.nif" contained in a string property
WeaponProperty.SetModelPath(StringProperty)

See Also[edit | edit source]