Difference between revisions of "User:Scrivener07/Menus"
Jump to navigation
Jump to search
no edit summary
imported>Qazaaq |
imported>Qazaaq |
||
Line 1: | Line 1: | ||
These are my notes and findings about Actionscript 3 & Scaleform in Fallout 4. | |||
== F4SE == | == F4SE == | ||
* <code> | [[:Category:F4SE|F4SE]] will install a code object to the root of any registered menu. | ||
* <code> | To acquire the F4SE code object in AS3, use <code>(stage.getChildAt(0) as MovieClip).f4se</code>. | ||
* <code> | It is a good idea to wrap calls to the F4SE code object in a Try/Catch block. | ||
* <code> | |||
==== Code Object ==== | |||
* <code>AllowTextInput : Function(allow:Boolean):void</code> | |||
* <code>GetMembers : Function():void</code> | |||
* <code>CallFunctionNoWait : Function():void</code> | |||
* <code> | * <code>SendExternalEvent : Function(eventName:String, *...):void</code> Only the event name is required. | ||
* <code> | * <code>GetDirectoryListing : Function(path:String, match:String, recursive:Boolean):Array</code> Recursive may be an optional argument. | ||
* <code> | * <code>MountImage : Function(menuName:String, mountPath:String, mountName:String):void</code> | ||
* <code> | * <code>UnmountImage : Function(menuName:String, mountPath:String):void</code> | ||
* <code> | * <code>plugins : [Object]</code> | ||
** <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 == | == ExamineMenu == | ||
* <code>SetName : | * <code>SetName : Function():void</code> | ||
* <code>ConfirmBuild : | * <code>ConfirmBuild : Function():void</code> | ||
* <code>PlaySound : | * <code>PlaySound : Function():void</code> | ||
* <code>ScrapItem : | * <code>ScrapItem : Function():void</code> | ||
* <code>StartBuildConfirm : | * <code>StartBuildConfirm : Function():void</code> | ||
* <code>SetItemSelectValuesForComponents : | * <code>SetItemSelectValuesForComponents : Function():void</code> | ||
* <code>FillModPartArray : | * <code>FillModPartArray : Function():void</code> | ||
* <code>OnAlternateButton : | * <code>OnAlternateButton : Function():void</code> | ||
* <code>HasNullMod : | * <code>HasNullMod : Function():void</code> | ||
* <code>ToggleFavoriteMod : | * <code>ToggleFavoriteMod : Function():void</code> | ||
* <code>IsSelectedItemEquipped : | * <code>IsSelectedItemEquipped : Function():void</code> | ||
* <code>UpdateItemSelectList : | * <code>UpdateItemSelectList : Function():void</code> | ||
* <code>ToggleItemEquipped : | * <code>ToggleItemEquipped : Function():void</code> | ||
* <code>RegisterComponents : | * <code>RegisterComponents : Function():void</code> | ||
* <code>RegisterRequirementList : | * <code>RegisterRequirementList : Function():void</code> | ||
* <code>SwitchMod : | * <code>SwitchMod : Function():void</code> | ||
* <code>ShowItem : | * <code>ShowItem : Function():void</code> | ||
* <code>StartAnimation : | * <code>StartAnimation : Function():void</code> | ||
* <code>ZoomIn : | * <code>ZoomIn : Function():void</code> | ||
* <code>HideMenu : | * <code>HideMenu : Function():void</code> | ||
* <code>SwitchBaseItem : | * <code>SwitchBaseItem : Function():void</code> | ||
* <code>UpdateRequirements : | * <code>UpdateRequirements : Function():void</code> | ||
* <code>SendTutorialEvent : | * <code>SendTutorialEvent : Function():void</code> | ||
* <code>RequestItemSelectListData : | * <code>RequestItemSelectListData : Function():void</code> | ||
* <code>RepairSelectedItem : | * <code>RepairSelectedItem : Function():void</code> | ||
* <code>CanRepairSelectedItem : | * <code>CanRepairSelectedItem : Function():void</code> | ||
* <code>CheckRequirements : | * <code>CheckRequirements : Function():void</code> | ||
* <code>StartItemSelection : | * <code>StartItemSelection : Function():void</code> | ||
* <code>EndRotate3DItem : | * <code>EndRotate3DItem : Function():void</code> | ||
* <code>RevertChanges : | * <code>RevertChanges : Function():void</code> | ||
* <code>RemoveHighlight : | * <code>RemoveHighlight : Function():void</code> | ||
* <code>OnBuildFailed : | * <code>OnBuildFailed : Function():void</code> | ||
* <code>CancelConfirm : | * <code>CancelConfirm : Function():void</code> | ||
* <code>ItemSelect : | * <code>ItemSelect : Function():void</code> | ||
* <code>ZoomOut : | * <code>ZoomOut : Function():void</code> | ||
* <code>StartRotate3DItem : | * <code>StartRotate3DItem : Function():void</code> | ||
* <code>ShouldShowTagForSearchButton : | * <code>ShouldShowTagForSearchButton : Function():void</code> | ||
== PipboyMenu == | == PipboyMenu == | ||
* <code>PlaySound</code> | * <code>PlaySound</code> <code>0</code> | ||
* <code>PlaySmallTransition</code> | * <code>PlaySmallTransition</code> <code>1</code> | ||
* <code>PopulatePipboyInfoObj</code> | * <code>PopulatePipboyInfoObj</code> <code>2</code> | ||
* <code>onNewPage</code> | * <code>onNewPage</code> <code>3</code> | ||
* <code>onNewTab</code> | * <code>onNewTab</code> <code>4</code> | ||
* <code>toggleMovementToDirectional</code> | * <code>toggleMovementToDirectional</code> <code>0x28</code> | ||
* <code>UseStimpak</code> | * <code>UseStimpak</code> <code>5</code> | ||
* <code>UseRadaway</code> | * <code>UseRadaway</code> <code>6</code> | ||
* <code>ShowPerksMenu</code> | * <code>ShowPerksMenu</code> <code>7</code> | ||
* <code>PlayPerkSound</code> | * <code>PlayPerkSound</code> <code>8</code> | ||
* <code>StopPerkSound</code> | * <code>StopPerkSound</code> <code>9</code> | ||
* <code>onPerksTabOpen</code> | * <code>onPerksTabOpen</code> <code>0xA</code> | ||
* <code>onPerksTabClose</code> | * <code>onPerksTabClose</code> <code>0xB</code> | ||
* <code>SelectItem</code> | * <code>SelectItem</code> <code>0xC</code> | ||
* <code>onInvItemSelection</code> | * <code>onInvItemSelection</code> <code>0xD</code> | ||
* <code>updateItem3D</code> | * <code>updateItem3D</code> <code>0xE</code> | ||
* <code>SetQuickkey</code> | * <code>SetQuickkey</code> <code>0xF</code> | ||
* <code>ItemDrop</code> | * <code>ItemDrop</code> <code>0x10</code> | ||
* <code>SortItemList</code> | * <code>SortItemList</code> <code>0x11</code> | ||
* <code>ExamineItem</code> | * <code>ExamineItem</code> <code>0x12</code> | ||
* <code>onComponentViewToggle</code> | * <code>onComponentViewToggle</code> <code>0x13</code> | ||
* <code>ToggleComponentFavorite</code> | * <code>ToggleComponentFavorite</code> <code>0x14</code> | ||
* <code>onShowHotKeys</code> | * <code>onShowHotKeys</code> <code>0x27</code> | ||
* <code>onQuestSelection</code> | * <code>onQuestSelection</code> <code>0x16</code> | ||
* <code>SetQuestActive</code> | * <code>SetQuestActive</code> <code>0x15</code> | ||
* <code>ShowQuestOnMap</code> | * <code>ShowQuestOnMap</code> <code>0x17</code> | ||
* <code>ShowWorkshopOnMap</code> | * <code>ShowWorkshopOnMap</code> <code>0x18</code> | ||
* <code>RegisterMap</code> | * <code>RegisterMap</code> <code>0x19</code> | ||
* <code>UnregisterMap</code> | * <code>UnregisterMap</code> <code>0x1A</code> | ||
* <code>FastTravel</code> | * <code>FastTravel</code> <code>0x1D</code> | ||
* <code>HasSetPlayerMarkerRequest</code> | * <code>HasSetPlayerMarkerRequest</code> <code>0x20</code> | ||
* <code>SetPlayerMarker</code> | * <code>SetPlayerMarker</code> <code>0x21</code> | ||
* <code>ClearPlayerMarker</code> | * <code>ClearPlayerMarker</code> <code>0x22</code> | ||
* <code>onSwitchBetweenWorldLocalMap</code> | * <code>onSwitchBetweenWorldLocalMap</code> <code>0x23</code> | ||
* <code>CenterMarkerRequest</code> | * <code>CenterMarkerRequest</code> <code>0x24</code> | ||
* <code>onModalOpen</code> | * <code>onModalOpen</code> <code>0x25</code> | ||
* <code>CheckHardcoreModeFastTravel</code> | * <code>CheckHardcoreModeFastTravel</code> <code>0x1E</code> | ||
* <code>RefreshMapMarkers</code> | * <code>RefreshMapMarkers</code> <code>0x1F</code> | ||
* <code>ToggleRadioStationActiveStatus</code> <code>0x26</code> | * <code>ToggleRadioStationActiveStatus</code> <code>0x26</code> |