ds_grid_add_grid_region(id,source,x1,y1,x2,y2,xpos,ypos)

From ENIGMA

Jump to: navigation, search

Description

This is used to add (if using numbers) or concatenate the region of a grid with another grid (or with itself).

Parameters

Parameter Data Type Description
id int the id of the grid to which the region should be added (can be the same as the source grid)
source int the id of the grid the region should be sourced from
x1 int value determining start of region along x axis
x2 int value determining end of region along x axis
y1 int value determining start of region along y axis
y2 int value determining end of region along y axis
xpos int x location of where the region must be added in the grid
ypos int y location of where the region must be added in the grid

Return Values

void: This function does not return anything

Example Call

// demonstrates adding the region (5,5) to (10,10) to a grid filling the space with 0's
ds_grid_add_grid_region(grid_easypuzzles, grid_allpuzzles, 5, 5, 10, 10, 0, 0)

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
ENIGMA
Other
Toolbox