SetPhotoModeMaxDistance
How far the game’s photo mode camera may fly from the player.
The game’s photo mode keeps its free camera within a few metres of the player; this lets it fly farther for wider shots,
or keeps it closer. In metres, 1 to 10000; nil puts the game’s own distance back. A reload of the scripts and the end
of the session put it back too.
Syntax
Section titled “Syntax”SetPhotoModeMaxDistance(metres)| Parameter | Type | |
|---|---|---|
metres |
number|nil | the farthest the photo mode camera may go from the player; nil = the game’s own |
Returns
Section titled “Returns”boolean - false for a value that is not a number
Example
Section titled “Example”SetPhotoModeMaxDistance(60) -- room for a shot of the whole market squareSee also
Section titled “See also”GetPhotoModeMaxDistance · the The game’s UI for a script group of the index
