Since engine version: 1.0 OC
Blasts a hole in solid materials.
int BlastFree(int x, int y, int radius, int caused_by, int max_density);
- X coordinate
- Y coordinate
- [opt] The controller of objects that are created by the blast. See Blast2Objects in material definitions. If not set, the controller is the owner of the calling object.
- [opt] Only materials of the given density or lower are blasted by this explosion. If not specified, any material is blasted.
BlastFree(300, 300, 40, nil, 70);
Blasts a hole into the landscape with the center of the blast being 300,300. Additionally, only materials of a density of 70 or lower are blasted, so this blast does not blast granite.
See also: Explode