AddSnow
Add a snowball to a shape. Only used by data/script/snowball.lua
for the pile of snowballs in the campaign hub.
This does not create a new shape, but instead modifies the existing shape, including potentially changing its dimensions to fit the accomodate the new voxels. This may end up changing the position of textures.
This function exists in all environments, but will do nothing if called from a non-privileged script.
This function was added in 0.9.6 (8498817).
This function is not officially documented.
Arguments
- Shape (number): Index of shape entity to add snowball to. Game will crash if not a valid shape entity.
- Vec (table): World space position of snowball
- number: Snowball radius in meters, clamped to range 0.1 to 0.3
Return values
- boolean: Always false. Purpose unknown.