Kategorie: Spieler
/ Sicht
Ab Engineversion: 5.5 OC
| Wert | Beschreibung |
|---|---|
| PLRZOOM_Direct | Der Zoom scrollt nicht sanft zum neuen Wert, sondern wird direkt gesetzt. |
| PLRZOOM_NoIncrease | The new zoom is only to be set if it is smaller than the current value. |
| PLRZOOM_NoDecrease | The new zoom is only to be set if it is greater than the current value. |
| PLRZOOM_LimitMin | Setzt das minimale Grenze für den Zoom. Der Spieler kann nicht weiter herauszoomen als dieser Wert. |
| PLRZOOM_LimitMax | Setzt das maximale Grenze für den Zoom. Der Spieler kann nicht weiter hineinzoomen als dieser Wert. |
| PLRZOOM_Set | Set the current zoom. This flag is implied if neither PLRZOOM_LimitMin nor PLRZOOM_LimitMax is supplied but can be used if current zoom and limits should be set simultanuously. |
func InitializePlayer(int plr)
{
SetPlayerZoom(plr, 1,1, PLRZOOM_LimitMin | PLRZOOM_LimitMax);
SetPlayerViewLock(plr, true);
return true;
}