Difference between revisions of "Dissecting the Scripts for Weapon Racks"

no edit summary
imported>Fg109
m (added to tutorials category)
imported>Ghastley
 
Line 538: Line 538:


When the plaque finds the weapon in its trigger area, it disables its own linked ref, the invisible activator.  This means you can no longer activate it to hang on another weapon.  If you now go and take back your weapon, the trigger area is clear and the plaque enables the invisible activator again.  Now you can put a weapon on it again.
When the plaque finds the weapon in its trigger area, it disables its own linked ref, the invisible activator.  This means you can no longer activate it to hang on another weapon.  If you now go and take back your weapon, the trigger area is clear and the plaque enables the invisible activator again.  Now you can put a weapon on it again.
Because the trigger area is enabled and disabled by the rack script, it cannot also be subject to an enable parent. The racks that are built in Hearthfire homes do not have enable parents on the triggers for that reason. The racks themselves do have one.
Anonymous user