Jass:CameraSetSourceNoiseForPlayer
Aus Mappedia
| Funktion: CameraSetSourceNoiseForPlayer | |
|---|---|
| Parameter: | player real real |
| Rückgabewert: | nothing |
| Autor: | Blizzard |
| Quelle: | Blizzard.j |
| Synchron: | Unbekannt |
Code
function CameraSetSourceNoiseForPlayer takes player whichPlayer, real magnitude, real velocity returns nothing if (GetLocalPlayer() == whichPlayer) then // Use only local code (no net traffic) within this block to avoid desyncs. call CameraSetSourceNoise(magnitude, velocity) endif endfunction
Parameter
| Typ | Name | Beschreibung |
|---|---|---|
| player | whichPlayer | |
| real | magnitude | |
| real | velocity |
