Jump to content

Help with mod scripting


Mightandmarine

Recommended Posts

Hey all.

 

I'm trying to make a mod that makes everywhere outdoors irradiated. With a lot of help from Reddit, it was decided an empty quest making the player take rads when outside was the way to go.

 

I was given this code:

Spell Property PlayerRadiationSpell Auto
Actor playerRef = Game.GetPlayer()
playerRef.AddSpell(PlayerRadiationSpell)
debug.notification("Radiation spell added")

For the script. I made an empty quest and added this in as a script, but I still get nothing when I start the game. Any help?

Link to comment
Share on other sites

  • Recently Browsing   0 members

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