Talk:MatSwap Script
Usage Notes[edit source]
The biggest misconception about using these functions has to do with Armor/Weapon references. When items/Armors/Weapons are inside of an inventory such as a container or actor they do not have a world reference. In some ways they no longer exist, at least in their conventional form. In the case of equipable items these rules still apply. Say an armor for example. When an armor is equipped it loses its "object reference" due to be inventoried but the mesh data of the armor becomes one with the equipping actor. The Actor and the armor are now a singular entity. In practice this means you are actually calling for material swaps on the actor, not the armor or weapon. The armor/weapon scripts have events for when they are equipped by an actor, and this actor is given as an event argument. Scrivener07 (talk) 2019-06-15T08:52:11 (EDT)