Ds_grid_set_region - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Notation
Description
Sets a region of cells in a data structure to the given value.
Parameters
- id: index of the data structure
- x1: (x1, y1) top left
- y1
- x2: (x2,y2) lower right
- y2
- val: value to the set the region of cells to
Return Values
none: This function has no return values.
Example Call
// sets the top left 5x5 cells in the data structure "mydatastruct" to 60
ds_grid_set_region(mydatastruct, 0, 0, 5, 5, 60);
NOTOC