OS Engine Lua Script API: Variables and Functions - notweuz/FNF-OSEngine GitHub Wiki
OS Engine's exclusive functions
Variables and Instance Functions
pcUserName()
Returns PC username (may be innacurate)
setWindowTitle(name:String)
Will change Window Title name to selected.
setBotPlayText(value:String)
Sets selected text as "BOTPLAY".
setWatermarkText(value:String)
Sets selected text as watermark (text in left-bottom corner)
setRating(ratingindex:Int, ratingname:String)
Sets selected name for selected rating Rating indexes:
- You Suck
- Shit
- Bad
- Bruh
- Meh
- Nice
- Good
- Great
- Sick!
- Perfect!!!
Stage/Objects Functions
setupStageObject(tag:String)
Adds a stage editor object from mod/objects folder
Other Functions
openURL(url:String)
Opens selected url in browser (vs bob vibes)