Jump to content

How to make plant regrow with console?


GisleAune

Recommended Posts

So, I made a simple mod to practice scripting. All it does is once on an OnLoad for every single Nirnroot, a point light is placed at it (x, y, z+64) and will emit until taken. I also reenable in on OnReset(), but I have to test it. So how do I make a plant in the world respawn?
Link to comment
Share on other sites

Well.. For testing purposes you could also increase the rate at which Nirnroot respawns in-game.. Say to a few in-game hours? Then I think you could probably just use the wait function for that amount of time. *shrugs* I'm honestly not completely sure if that'll work or if you'll have to reload the cells by exiting and coming back so it can refresh.
Link to comment
Share on other sites

I have another problem, does script added only affect Nirnroot that weren't loaded before my plugin was activated? (i.e. When I made this sh­it)

 

I added messageboxes and they only worked when Nirnroot were discovered. I tried OnLoad, OnCellAttach and OnCellLoad, all which only worked on newly discovered nirnroot, and not those which the character have already been close to.

Edited by GisleAune
Link to comment
Share on other sites

  • Recently Browsing   0 members

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