Type: Prop Brain
Level: not in gallery
Pages: 1
Description: Found in the Disco Ball. This rotates the ball, creates a sparkle effect and plays music.
Kode
- WHEN DO [yaw][0.5]
- WHEN DO [play fx][fx:Sparkle]
- WHEN DO [distance to][player][less than][10] DO [play sound][Music Conker Dance Loop]
Alterations
Instead of just having the music play only when the player is within a certain distance have the volume alter so that it gets louder as you approach.
- WHEN DO [yaw][0.5]
- WHEN DO [play fx][fx:Sparkle]
- WHEN DO [numvar:distance][equals][distance to][player]
- WHEN DO [play sound][Music Conker Dance Loop][everywhere][volume][(][100][minus][(][numvar:distance][multiplied by][5][)][)]