User:PenguinEncounter/sandbox: Difference between revisions

From FiguraMC
PenguinEncounter (talk | contribs)
No edit summary
Tag: 2017 source edit
PenguinEncounter (talk | contribs)
No edit summary
Tag: 2017 source edit
Line 2: Line 2:
Configures the hold, fade-in, and fade-out durations of titles displayed on the screen.
Configures the hold, fade-in, and fade-out durations of titles displayed on the screen.


== Invocation ==
== Usage ==
{| class="wikitable"
{| class="wikitable"
! Arguments !! Return Type
! Arguments !! Return Type
Line 15: Line 15:
== Examples ==
== Examples ==
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
host:setTitleTimes(1.0, 1.0, 1.0)
host:setTitleTimes(1, 1, 1)
</syntaxhighlight>
</syntaxhighlight>


== See Also ==
== See Also ==
<!-- idk -->
<!-- idk -->

Revision as of 21:32, 26 September 2024

HostAPI:setTitleTimes [host only]

Configures the hold, fade-in, and fade-out durations of titles displayed on the screen.

Usage

Arguments Return Type
setTitleTimes(timesData Vector3) self HostAPI
setTitleTimes(fadeInTime integer, stayTime integer, fadeOutTime integer) self HostAPI

Examples

host:setTitleTimes(1, 1, 1)

See Also