MoonHoplite Posted October 4, 2014 Share Posted October 4, 2014 (edited) Hi Im trying to make a script for power armour which increases the scale by 1.05. When the power armour is taken off, the player/NPC should return to their ORIGINAL scale.Can anyone help me troubleshoot or suggest a better script? Everything works at the moment I think. Does it look ok, any improvements or suggestions? Basically im asking for help with cleaning the script. A possible side effect could be that when killing NPCs with power armour and looting them, they remain large. Also I dont believe that this script takes account into the original height of the NPC??? scn 00PowerArmour float fScalereference rUser begin GameModeif rUser != GetContainerset rUser to GetContainerendif if rUser.GetEquipped 00powerarmourmod ==1if rUser.GetScale != 1.05set fScale to rUser.GetScalerUser.SetScale 1.05endifendifend BEGIN OnUnequip set fScale to rUser.GetScalerUser.SetScale 1.0end Edited October 6, 2014 by MoonHoplite Link to comment Share on other sites More sharing options...
Recommended Posts