No edit summary Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
For example, to get the cube {{Emoji|BBCube.png}} RightArm: | For example, to get the cube {{Emoji|BBCube.png}} RightArm: | ||
< | This is what is in your project: | ||
{{tree|icon=FSFolderOpen.png|content=<code>my_avatar</code>|inner= | |||
{{tree|icon=FiguraJSON.png|content=<code>avatar.json</code>}} | |||
{{tree|icon=BBModel.png|content=<code>model.bbmodel</code>}} | |||
}} | |||
{{tree|icon=BBModel.png|content=<code>model.bbmodel</code>|inner= | {{tree|icon=BBModel.png|content=<code>model.bbmodel</code>|inner= | ||
{{tree|icon=BBGroup.png|content=Head|inner= | {{tree|icon=BBGroup.png|content=Head|inner= | ||
Line 12: | Line 19: | ||
}} | }} | ||
}} | }} | ||
== conspicuous example code == | == conspicuous example code == |
Revision as of 21:03, 14 December 2024
For example, to get the cube RightArm:
This is what is in your project:
my_avatar
avatar.json
model.bbmodel
model.bbmodel
Head
Head
HeadLayer
RightArm
oops
oops
RightArm
RightArmLayer
conspicuous example code
function events.tick()
--[[wiki.figuramc.org, User:PenguinEncounter/sandbox rev. 807]]
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)