Difference between revisions of "User talk:Scrivener07"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Qazaaq
imported>Qazaaq
m
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Wiki Feedback ==
== credit where it's due ==
'''Hot List'''
Just wanted to officially say thank you for your hard work setting up all the tool pages. Getting to know the ropes around here really wouldn't be possible without it. [[User:Longpinkytoes|longpinkytoes]] ([[User talk:Longpinkytoes|talk]]) 2019-06-25T07:32:43 (EDT)
*Add [[Use Report]] window.
*Add better pages on structs & more actual examples. Its still not clear to some people when structs are most useful.
*Restore the enormous editors like [[Quest]] and [[Actor]].
*Restore the [[:Category:Condition_Functions|Condition Functions]].
*Expand papyrus pages to include both minimalistic and complete source code examples.


This is my hot list for contributions I plan to submit. [[User:Scrivener07|Scrivener07]] ([[User talk:Scrivener07|talk]]) 2017-10-28T20:55:06 (EDT)
:They can still use a lot of work. Thanks for recognizing whats been done so far. The wiki will trash your edits all the time on submit, so editing pages can be exhausting here. Remember, Always do "Select All" & "Copy" before submitting or previewing :) [[User:Scrivener07|Scrivener07]] ([[User talk:Scrivener07|talk]]) 2019-06-25T07:41:35 (EDT)
 
== Possible F4SE UI Additions ==
 
<source lang="papyrus">
; Returns whether the menu is registered
bool Function IsMenuRegistered(string menu) native global
 
struct MenuData
    int menuFlags
    int movieFlags
    int extendedFlags
    int depth
endStruct
 
bool Function RegisterCustomMenu(string menuName, string menuPath, string rootPath, MenuData mData) native global
 
; Return value does not indicate the menu is ready, only that it sent the message
bool Function OpenMenu(string menuName) native global
 
; Return value does not indicate the menu is closed, only that it sent the message
bool Function CloseMenu(string menuName) native global
</source>
 
<source lang="papyrus">
UI:MenuData mData = new UI:MenuData
mData.menuFlags = 0x01 + 0x08 + 0x04 ; Pause Game, Enable Menu Control, Show cursor
mData.movieFlags = 2
mData.extendedFlags = 1 ; Inherit menu color
mData.depth = 6
If UI.RegisterCustomMenu("MyCustomMenu", "Something", "root1.Menu_mc", mData)
    UI.OpenMenu("MyCustomMenu")
EndIf
</source>
 
<code>0x8018499</code> are the menu flags used by messagebox menu. This is a nice note for the wiki page.

Latest revision as of 07:42, 25 June 2019

credit where it's due[edit source]

Just wanted to officially say thank you for your hard work setting up all the tool pages. Getting to know the ropes around here really wouldn't be possible without it. longpinkytoes (talk) 2019-06-25T07:32:43 (EDT)

They can still use a lot of work. Thanks for recognizing whats been done so far. The wiki will trash your edits all the time on submit, so editing pages can be exhausting here. Remember, Always do "Select All" & "Copy" before submitting or previewing :) Scrivener07 (talk) 2019-06-25T07:41:35 (EDT)