Difference between revisions of "User:Scrivener07/Menus"

3,403 bytes removed ,  01:29, 8 March 2020
no edit summary
imported>Qazaaq
imported>Qazaaq
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
These are my notes and findings about Actionscript 3 & Scaleform in Fallout 4.
These are my notes and findings about Actionscript 3 & Scaleform in Fallout 4.
Some notes were moved to [[User Interface]] and [[Menu]]s.


==== Code Object ====
==== Notes ====
It is a good idea to wrap calls to the F4SE code object in a Try/Catch block.
* Make page notes about the game's string pool potentially causing UI calls invoked from Papyrus to fail. See also iEquip Author.
* <code>AllowTextInput : Function(allow:Boolean):void</code>
* A menu with flag <code>0x200000</code> will not hide when opening another menu which normally hides all others(pausemenu or messageboxmenu).
* <code>GetMembers : Function():void</code>
* <code>CallFunctionNoWait : Function():void</code>
* <code>SendExternalEvent : Function(eventName:String, *...):void</code> Only the event name is required.
* <code>GetDirectoryListing : Function(path:String, match:String, recursive:Boolean):Array</code> Recursive may be an optional argument.
* <code>MountImage : Function(menuName:String, mountPath:String, mountName:String):void</code>
* <code>UnmountImage : Function(menuName:String, mountPath:String):void</code>
* <code>plugins : Array</code>
** <code>f4mcm : [Object]</code>
* <code>version : [Object]</code>
** <code>releaseIdx : Number</code>
** <code>minor : Number</code>
** <code>major : Number</code>
** <code>beta : Number</code>


== ExamineMenu ==
==== Missing Font Error ====
==== BGSCodeObj ====
An example of a missing font error. The errors are logged into the F4SE.log file.
* <code>SetName : Function():void</code>
<source lang="text">
* <code>ConfirmBuild : Function():void</code>
Missing font "Times New Roman" in ".root1.Menu_mc.CreditsContainer.instance18". Search log:
* <code>PlaySound : Function():void</code>
  Searching for font: "Times New Roman" [Device]
* <code>ScrapItem : Function():void</code>
      Movie resource: "Times New Roman" [Device] not found.
* <code>StartBuildConfirm : Function():void</code>
      Imports      : "Times New Roman" [Device] not found.
* <code>SetItemSelectValuesForComponents : Function():void</code>
      Exported      : "Times New Roman" [Device] not found.
* <code>FillModPartArray : Function():void</code>
      Registered fonts: "Times New Roman"[Device] not found.
* <code>OnAlternateButton : Function():void</code>
      Searching FontLib: "Times New Roman" [Device] not found.
* <code>HasNullMod : Function():void</code>
      Searching FontLib without [Device] flag: "Times New Roman"  not found.
* <code>ToggleFavoriteMod : Function():void</code>
      Searching again without [Device] flag:
* <code>IsSelectedItemEquipped : Function():void</code>
        Movie resource: "Times New Roman"  not found.
* <code>UpdateItemSelectList : Function():void</code>
        Imports      : "Times New Roman"  not found.
* <code>ToggleItemEquipped : Function():void</code>
        Exported      : "Times New Roman"  not found.
* <code>RegisterComponents : Function():void</code>
        Registered fonts: "Times New Roman" not found.
* <code>RegisterRequirementList : Function():void</code>
  Font not found.
* <code>SwitchMod : Function():void</code>
</source>
* <code>ShowItem : Function():void</code>
* <code>StartAnimation : Function():void</code>
* <code>ZoomIn : Function():void</code>
* <code>HideMenu : Function():void</code>
* <code>SwitchBaseItem : Function():void</code>
* <code>UpdateRequirements : Function():void</code>
* <code>SendTutorialEvent : Function():void</code>
* <code>RequestItemSelectListData : Function():void</code>
* <code>RepairSelectedItem : Function():void</code>
* <code>CanRepairSelectedItem : Function():void</code>
* <code>CheckRequirements : Function():void</code>
* <code>StartItemSelection : Function():void</code>
* <code>EndRotate3DItem : Function():void</code>
* <code>RevertChanges : Function():void</code>
* <code>RemoveHighlight : Function():void</code>
* <code>OnBuildFailed : Function():void</code>
* <code>CancelConfirm : Function():void</code>
* <code>ItemSelect : Function():void</code>
* <code>ZoomOut : Function():void</code>
* <code>StartRotate3DItem : Function():void</code>
* <code>ShouldShowTagForSearchButton : Function():void</code>
 
== PipboyMenu ==
==== BGSCodeObj ====
* <code>PlaySound</code> <code>0</code>
* <code>PlaySmallTransition</code> <code>1</code>
* <code>PopulatePipboyInfoObj</code> <code>2</code>
* <code>onNewPage</code> <code>3</code>
* <code>onNewTab</code> <code>4</code>
* <code>toggleMovementToDirectional</code> <code>0x28</code>
* <code>UseStimpak</code> <code>5</code>
* <code>UseRadaway</code> <code>6</code>
* <code>ShowPerksMenu</code> <code>7</code>
* <code>PlayPerkSound</code> <code>8</code>
* <code>StopPerkSound</code> <code>9</code>
* <code>onPerksTabOpen</code> <code>0xA</code>
* <code>onPerksTabClose</code> <code>0xB</code>
* <code>SelectItem</code> <code>0xC</code>
* <code>onInvItemSelection</code> <code>0xD</code>
* <code>updateItem3D</code> <code>0xE</code>
* <code>SetQuickkey</code> <code>0xF</code>
* <code>ItemDrop</code> <code>0x10</code>
* <code>SortItemList</code> <code>0x11</code>
* <code>ExamineItem</code> <code>0x12</code>
* <code>onComponentViewToggle</code> <code>0x13</code>
* <code>ToggleComponentFavorite</code> <code>0x14</code>
* <code>onShowHotKeys</code> <code>0x27</code>
* <code>onQuestSelection</code> <code>0x16</code>
* <code>SetQuestActive</code> <code>0x15</code>
* <code>ShowQuestOnMap</code> <code>0x17</code>
* <code>ShowWorkshopOnMap</code> <code>0x18</code>
* <code>RegisterMap</code> <code>0x19</code>
* <code>UnregisterMap</code> <code>0x1A</code>
* <code>FastTravel</code> <code>0x1D</code>
* <code>HasSetPlayerMarkerRequest</code> <code>0x20</code>
* <code>SetPlayerMarker</code> <code>0x21</code>
* <code>ClearPlayerMarker</code> <code>0x22</code>
* <code>onSwitchBetweenWorldLocalMap</code> <code>0x23</code>
* <code>CenterMarkerRequest</code> <code>0x24</code>
* <code>onModalOpen</code> <code>0x25</code>
* <code>CheckHardcoreModeFastTravel</code> <code>0x1E</code>
* <code>RefreshMapMarkers</code> <code>0x1F</code>
* <code>ToggleRadioStationActiveStatus</code> <code>0x26</code>
Anonymous user