Difference between revisions of "LlAdjustSoundVolume/zh-Hant"
Jump to navigation
Jump to search
(Created page with "{{LSL_Function/volume|volume}}{{LSL_Function/zh-Hant |func=llAdjustSoundVolume |sort=AdjustSoundVolume |func_id=207|func_sleep=0.1|func_energy=10.0 |p1_type=float|p1_name=volume …") |
m |
||
Line 1: | Line 1: | ||
{{LSL_Function/volume|volume}} | {{LSL_Function/zh-Hant | ||
|inject-2={{LSL_Function/volume|volume}} | |||
|func=llAdjustSoundVolume | |func=llAdjustSoundVolume | ||
|sort=AdjustSoundVolume | |sort=AdjustSoundVolume | ||
Line 5: | Line 6: | ||
|p1_type=float|p1_name=volume | |p1_type=float|p1_name=volume | ||
|func_footnote | |func_footnote | ||
|func_desc=將身上所有音效的音量調整至 | |func_desc=將身上所有音效的音量調整至{{LSLP|volume}}。 | ||
|return_text | |return_text | ||
|spec | |spec |
Latest revision as of 11:39, 11 June 2012
概要
函式: llAdjustSoundVolume( float volume );注意事項
- 這函式會導致script延遲 0.1 秒。
範例
<lsl> default {
state_entry() { llListen(42, "", llGetOwner(), ""); }
listen(integer chan, string name, key id, string msg) { float value = (float)msg; llAdjustSoundVolume(value); llOwnerSay("Volume set to: " + (string)value + " of 1.0"); }
}
</lsl>