Jass:SetUserControlForceOn
Aus Mappedia
| Funktion: SetUserControlForceOn | |
|---|---|
| Parameter: | force |
| Rückgabewert: | nothing |
| Autor: | Blizzard |
| Quelle: | Blizzard.j |
| Synchron: | Unbekannt |
Code
function SetUserControlForceOn takes force whichForce returns nothing if (IsPlayerInForce(GetLocalPlayer(), whichForce)) then // Use only local code (no net traffic) within this block to avoid desyncs. call EnableUserControl(true) endif endfunction
Parameter
| Typ | Name | Beschreibung |
|---|---|---|
| force | whichForce |
