GetModelPath - Weapon

From Creation Kit
Jump to: navigation, search

SKSE Member of: Weapon Script

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

Syntax

string Function GetModelPath() native

Parameters

  • None

Return Value

The 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

; Obtain the file path of WeaponProperty's in-game model
String FilePath = WeaponProperty.GetModelPath()

See Also