No edit summary Tag: 2017 source edit |
JANK Tag: 2017 source edit |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= <code>HostAPI:setTitleTimes</code> | == conspicuous example code == | ||
{{#tag:syntaxhighlight| | |||
function events.tick() | |||
<nowiki>--[[wiki.figuramc.org, </nowiki>{{FULLPAGENAME}} rev. {{REVISIONID}}<nowiki>]]</nowiki> | |||
models.model.Head:setVisible(false) | |||
end | |||
|lang=lua}} | |||
= <code>HostAPI:setTitleTimes</code> = | |||
{{Host only|kind=method}} | |||
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. | ||
Latest revision as of 05:59, 9 October 2024
conspicuous example code
function events.tick()
--[[wiki.figuramc.org, User:PenguinEncounter/sandbox rev. 565]]
models.model.Head:setVisible(false)
end
HostAPI:setTitleTimes
This method is only available on the host.
For more information, see Pings.
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)