Difference between revisions of "UI Script"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>ShadeMe
(Create UI Page)
 
imported>Qazaaq
m
Line 1: Line 1:
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Script Objects]]
[[Category:F4SE]]
'''Extends:''' [[ScriptObject Script]]
'''Extends:''' [[ScriptObject Script]]


Script for the manipulation of scaleform UI.
Script for the manipulation of scaleform user interface.


== Definition ==
== Definition ==
Line 22: Line 18:
**Returns a variable from AS3 to Papyrus.
**Returns a variable from AS3 to Papyrus.


*var Function [[Invoke - UI|Invoke]](string asMenu, string asPath, var[] avArgs = None)
*var Function [[Invoke - UI|Invoke]](string asMenu, string asPath, var[] avArgs = none)
**Invoke an AS3 function from Papyrus.
**Invoke an AS3 function from Papyrus.


Line 31: Line 27:
**Loads a child swf to the target.
**Loads a child swf to the target.


*bool Function [[Set - UI|Set]](string asMenu, string asSource, string asPath, ScriptObject akReceiver = None, string asCallback = "")
*bool Function [[Set - UI|Set]](string asMenu, string asSource, string asPath, ScriptObject akReceiver = none, string asCallback = "")
**Sets a variable in AS3 from Papyrus.
**Sets a variable in AS3 from Papyrus.


== Events ==
== Events ==
None
None
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Script Objects]]
[[Category:F4SE]]

Revision as of 20:51, 20 January 2018

Extends: ScriptObject Script

Script for the manipulation of scaleform user interface.

Definition

Scriptname UI Native Hidden

Properties

None

Global Functions

None

F4SE Global Functions

  • var Function Get(string asMenu, string asPath)
    • Returns a variable from AS3 to Papyrus.
  • var Function Invoke(string asMenu, string asPath, var[] avArgs = none)
    • Invoke an AS3 function from Papyrus.
  • bool Function IsMenuOpen(string asMenu)
    • Returns true if the given menu is open.
  • var Function Load(string asMenu, string asPath)
    • Loads a child swf to the target.
  • bool Function Set(string asMenu, string asSource, string asPath, ScriptObject akReceiver = none, string asCallback = "")
    • Sets a variable in AS3 from Papyrus.

Events

None