Jump to content

Lightning Charged Weapon Help


Recommended Posts

How can I get my electric weapon to charge when it or my character gets struck by lightning? I have consulted the Volt Goat, WX78, Lightningrod, and Morning Star prefab files, but the only thing I can't get to work is "charging" the item so its electric effects are triggered. If I set it as charged, then you can see these effects, but a lightning strike does not trigger "setcharged". I will attach the lua file. I was using it with a baseball bat weapon that was not mine, so I'm not including the whole folder. Almost done with this mod, so any help is appreciated!

metal_bat.lua

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...