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