SetModelPath - Weapon

Revision as of 10:57, 11 May 2012 by imported>Fg109 (Created page for SetModelPath)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

SKSE Member of: Weapon Script

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

SyntaxEdit

Function SetModelPath(string path) native

ParametersEdit

  • 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 ValueEdit

None.

ExamplesEdit

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

See AlsoEdit