Jump to content

Rebreather Help


Synpathy

Recommended Posts

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 1

end

 

;begin onUnequip player

; player.RemoveSpell VMS15WaterBreathingActual

;end

 

begin GameMode

if iEquipped == 1 && Player.GetEquipped VMS15Rebreather == 0

player.RemoveSpell VMS15WaterBreathingActual

set iEquipped to 0

endif

end

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...