femmenewvolage Posted December 16, 2012 Share Posted December 16, 2012 Hello, i don't speak Enghlish and i don't know where i can post this message, please sorry! I have a little problem, i would like to change a script of very good nuderay v 1.2 for my personal use, but my command script doesn't work! I want to use an UnEquip/Equip command for Armor , but Geck doesn't accept my save script! my bad new screapt is: scriptname WeapNudeRaytarget Begin ScriptEffectStart Ref NudeRayTargetSet NudeRayTarget to GetOwnerLastTarget If (NudeRayTarget != PlayerRef) NudeRAyTarget.UnEquipItem Armor 0 1 NudeRayTarget.CIOS MS13MezzedSpell Else Endif End The normal script is: scriptname WeapNudeRaytarget Begin ScriptEffectStart Ref NudeRayTarget Set NudeRayTarget to GetOwnerLastTarget If (NudeRayTarget != PlayerRef) NudeRayTarget.AddItem Nude 1 NudeRayTarget.EquipItem Nude NudeRayTarget.CIOS MS13MezzedSpell Else Endif End I can remove armor with : RemoveAllTypedItem 0 1 24 ; but i don't want remove it, iwant just Unequiped it for few minutes! Who is understand me and help me please? Think you! Link to comment Share on other sites More sharing options...
luthienanarion Posted December 16, 2012 Share Posted December 16, 2012 There's a reason the original script uses AddItem and EquipItem with a fake "armor" item with a body mesh: you'll need NVSE functions to determine what armor the actor is wearing in order to use UnequipItem. Link to comment Share on other sites More sharing options...
femmenewvolage Posted December 21, 2012 Author Share Posted December 21, 2012 Ok Think you! Link to comment Share on other sites More sharing options...
Recommended Posts