_SET_CHECKPOINT_ICON_HEIGHT
DocsSetCheckpointIconHeight(checkpoint, height_multiplier)Description
This multiplies the height of the icon inside a checkpoint with the default height of about 2 units above the checkpoint's coordinates.
Parameters
| Name | Type | Description |
|---|---|---|
checkpoint | int | The checkpoint the multiplier should be applied to. |
height_multiplier | float | The multiplier for the icon height above the checkpoint's coordinates. Default is 1.0 |
Returns
voidThis native does not return a value.
Examples
Official
local checkpoint = CreateCheckpoint(...)
SetCheckpointIconHeight(checkpoint, 2.0) -- places the icon two times as high as the default.