Since engine version: 1.0 OC
Applies explosion damage to all objects at the specified position. x and y are always global coordinates. If a container is specified, damage is only applied to objects contained in that container. Explosion damage can cause incineration or fling away living objects.
int BlastObjects(int x, int y, int level, object container, int caused_by, int damage_level);
- X coordinate
- Y coordinate
- [opt] Container of the objects to be blasted.
- [opt] Number of the player who has caused the damage. If not specified, the the controller of the calling object is considered to have caused the damage in local calls.
- [opt] If specified, then this value overrides the damage that is caused to objects.
The calling object causes explosion damage of level 60 to its contents.
See also: Explode