Trigger API Reference DCEI Functions UI1 - funovus/editor-wiki GitHub Wiki
Table of Contents
- [Trigger API Reference\DCEI Functions\UI (2/2)](#trigger-api-referencedcei-functionsui-22)
* [void ShowObjectiveText(string text)](#void-showobjectivetextstring-text)
* [void HideObjective()](#void-hideobjective)
* [void ShowScreenMask(float alpha, ScreenBackgroundOptions options)](#void-showscreenmaskfloat-alpha-screenbackgroundoptions-options)
* [void HideScreenMask()](#void-hidescreenmask)
* [void ShowSlowMotionEffect()](#void-showslowmotioneffect)
* [void HideSlowMotionEffect()](#void-hideslowmotioneffect)
|
Trigger API Reference\DCEI Functions\UI (2/2) {Trigger-API-ReferenceDCEI-FunctionsUI-22}
void ShowObjectiveText(string text)
DCEI.ShowObjectiveText("Objective")
void HideObjective()
DCEI.HideObjective()
void ShowScreenMask(float alpha, ScreenBackgroundOptions options) {void-ShowScreenMaskfloat-alpha-ScreenBackgroundOptions-options}
void ShowScreenMask(float alpha, ScreenBackgroundOptions options)
Shows a screen mask (overlay tint). This will block interaction with everything. This will also overwrite previous screen masks.
-
float
alpha
the alpha of the screen mask. - ScreenBackgroundOptions the additional options for the screen mask.
local screen_options = {color = {r = 255, g = 0, b = 255, a = 255}, duration = 5}
DCEI.ShowScreenMask(0.5, screen_options)
void HideScreenMask()
DCEI.HideScreenMask()
void ShowSlowMotionEffect()
Shows the slow motion effect on the screen.
DCEI.ShowSlowMotionEffect()
void HideSlowMotionEffect()
Hides the slow motion effect on the screen.
DCEI.HideSlowMotionEffect()