Background for Skyrim SE
Member of the Weapon script
voidfunctionSetModelPath(stringpath)Native

Description

Wiki Description

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


Caveats


Parameters

stringpath

CK Wiki Description

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.


Examples

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

Auto-Generated Example

string myString__path

myWeapon__toCallFunctionOn.SetModelPath(myString__path)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.