CameraSetupApplyWithZ
- Parameters
-
whichSetup camerasetup
The camerasetup to apply.
zDestOffset real
The camera's z-offset will gradually change to this value over the specified duration.
- bug
If a player pauses the game after the camerasetup has been applied, the z-offset of the game camera will change to the z-offset of the camerasetup for that player.
- comment
Applies the camerasetup with a custom z-offset, altering the current camera's fields to match those of the camera setup. The z-offset input will override the z-offset specified by the camerasetup through
CameraSetupSetField
.- return type
nothing
- Source code
native CameraSetupApplyWithZ takes camerasetup whichSetup, real zDestOffset returns nothing
- Source
- camera.j
- wc3modding.com
- CameraSetupApplyWithZ