Jump to content

[LE] Messages on equip and unequip of armors


jamesrandom

Recommended Posts

Hey Im brand new to skyrim modding and I don't plan on staying long. I was just wondering if theres a way to display a message in the top left corner upon equiping and unquiping armor. Something like "This armor is pretty sturdy." and such. If so then how would I go about to adding this to all in game armors?

Edited by jamesrandom
Link to comment
Share on other sites

  • 3 weeks later...

I'm a bit late on this, I know, but why would you want to add such a message to all in-game armours? It would get extremely annoying for most players to be told the same thing, every single time they equipped or un-equipped a piece of armour.

 

If you wanted to add such a message to a few pieces, that would be pretty easy with a script attached to those pieces. The script would use an OnObjectEquipped() event and within the event you would specify a message to be displayed. If you add a second event to the script OnObjectUnequipped() and specify a second message to display the unequip message. Add the nessages as properties if you want a different message for each piece of armour. If the equip and unequip messages are the same each time, you would just need to use Debug.Notification("Your message goes here") within your events.

 

I still think it would get tiresome.

Link to comment
Share on other sites

Yes, this can be done, and as mentioned it would use an event trigger, specifically the on equipped events.

 

If you want it for a specific piece of armor, you would attach the script to the piece of armor.

In the script would you put the one equip event, and like said, a notification message.

 

The unequipping would have a similar message.

 

I use things like this when testing scripts. to make sure they are recognizing events.

 

Check out the section on event scripting in the CK wiki.

 

Just a note: I am not sure what "I am new but don't plan to stay long..." means, but learning the CK, scripting and mod making is not a simple quick task.

It is far from impossible however; we all have to start somewhere. Read everything you can, and do all the tutorials in the Skyrim creation kit wiki.

https://www.creationkit.com/index.php?title=Category:Tutorials

Link to comment
Share on other sites

  • Recently Browsing   0 members

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