Category: Player
/ View
Since engine version: 5.5 OC
Flag | Description |
---|---|
PLRZOOM_Direct | The zoom does not scroll slowly towards the new value, but is set directly. |
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 | Set the minimum limit for zooming. The player cannot zoom out further than this. |
PLRZOOM_LimitMax | Set the maximum limit for zooming. The player cannot zoom in further than this. |
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; }