0 of 0

File information

Last updated

Original upload

Created by

John Doe Bowler

Uploaded by

johndoebowler

Virus scan

Safe to use

Tags for this mod

About this mod

Fires a Papyrus event when the player levels up

Permissions and credits
Changelogs
Level Up Event

This is a simple quest script that fires an event when the player levels up. Requires only the base game.

How to use

scriptname MyAwesomeQuest extends Quest

Function MyAwesomeFunction ()
RegisterForCustomEvent(LevelUpEvent.GetScript(), "OnLevelUp")
EndFunction

Event LevelUpEvent.OnLevelUp (LevelUpEvent akSender, Var[] akArgs)
Debug.Notification("CONGLATURATION!")
EndEvent

Has to be loaded late in your load order as it is possible that the StoryManager event I am using gets consumed by another mod. Thanks to Glitchfinder for the explanation.

Source

Source code is on BitBucket. Uses Spriggit to build the plugin.
You can use this code any way you like, integrate in your mod (changing Editor IDs and script names and all) or by using this as a dependency.
Consider this public domain.

Credits

Credits to user vkz89q for his tutorial on how to set up a StoryManager Increase level function thingie.