Jump to content

I made a web application that allows to make syntax colored bbcode from papyrus scripts


Recommended Posts

Link: https://thiago099.github.io/bbcode-papyrus-coloring/

Source code: https://github.com/Thiago099/bbcode-papyrus-coloring

You can paste or write your papyrus code on the left and it will appear with the bbcode coloring on the right.
Here is an example:

image.thumb.png.497735ffcabe4e06d45f212e1bae7226.png

Here is how it looks like:
 

Quote

scriptName FC_MiscItemScript extends Quest
MiscObject Property StatsSoruce Auto
MiscObject Property ModelSource Auto
Event OnInit()
    RegisterForSingleUpdate(2)
EndEvent
Event OnUpdate()
    MiscObject newMiscObject = DynamicPersistentForms.Create(StatsSoruce) as MiscObject
    if(newMiscObject)
        newMiscObject.SetName("My New Dynamic Misc Item")
        newMiscObject.SetGoldValue(1003)
        DynamicPersistentForms.CopyAppearance(ModelSource, newMiscObject)
        Game.GetPlayer().AddItem(newMiscObject)
        Game.GetPlayer().AddItem(StatsSoruce)
        Game.GetPlayer().AddItem(ModelSource)
    endif
EndEvent

 

Edited by SkyrimThiago
Link to comment
Share on other sites

  • Recently Browsing   0 members

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