Synpathy Posted February 2, 2011 Share Posted February 2, 2011 Hi everyone, I'm new to modding so this is probably gonna be stupid ...but I have to ask, i'm stumped totally...I've added a rebreather to a part of a mod i'm working on. It is the same as the ingame original, although it won't give the same water breathing effect to the person wearing it. Any ideas where I need to look to fix the problem? I'm only using the original models/scripts etc.. I know I've missed something to make it work, some quick ideas of what it may be would be great so I can get it fixed.Thanks all! Just FYI it uses all the standard scripts and models, Original Script below> scn VMS15RebreatherScript int iEquipped begin OnEquip player player.AddSpell VMS15WaterBreathingActual set iEquipped to 1end ;begin onUnequip player; player.RemoveSpell VMS15WaterBreathingActual;end begin GameMode if iEquipped == 1 && Player.GetEquipped VMS15Rebreather == 0 player.RemoveSpell VMS15WaterBreathingActual set iEquipped to 0 endifend Link to comment Share on other sites More sharing options...
rickerhk Posted February 2, 2011 Share Posted February 2, 2011 Instead of the spell, try just setting the Actor value: Player.SetAV WaterBreathing 1 Link to comment Share on other sites More sharing options...
Recommended Posts