Tile - YCamera - Screen Shake – Ylands
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
Line 44: | Line 44: | ||
---- | ---- | ||
{{Navbox/Ylands}} | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] |
Latest revision as of 14:24, 24 November 2023
Screen Shake(Player, Intensity, Frequency, Duration, Sound)
static screenShake(player: YCharacter, intensity: number, frequency: number, duration: number, sound: YSound): void;
Parameters
player
Target player.
intensity
How strong will the shaking effect be.
frequency
How often will the shaking occur during the time period.
duration
The time period of the shaking effect.
sound
Sound played during the shaking.
Availability
Description
Shakes the camera of the target player for a given time period.
Notes
- It is possible to use both camera shake sound effect and sound effect literals, allowing for some creative use of the tile.