ReloadEquippedModels
From GECK
A function added by the JIP NVSE Plugin.
Description
Reloads the 3D models of the calling Actor's equipped weapon and any worn armor/clothing items, to reflect any changes made to the models/textures of those items via other functions.
- The function takes an optional argument which, if not omitted, enables to specify a single equipment slot to reload. Otherwise, the function reloads ALL slots.
Using this function, for the said purpose, is preferable to, less intrusive and more "visually appealing" than calling Update3D, and will also work properly on the player character.
Syntax
reference.ReloadEquippedModels equipSlot:int{0-19}
Or:
reference.ReloadModels equipSlot:int{0-19}
Example
actorRef.ReloadEquippedModels
actorRef.ReloadEquippedModels 5
Equipment Slot IDs
0: head 1: hair 2: upper body (usual slot for armor and clothing) 3: left hand 4: right hand 5: weapon 6: pip boy 7: backpack 8: necklace 9: headband 10: hat 11: eyeglasses 12: nosering 13: earrings 14: mask 15: choker 16: mouth object 17: body addon 1 18: body addon 2 19: body addon 3