Ds grid add region: Difference between revisions

From ENIGMA
Jump to navigation Jump to search
m (→‎Parameters: Removed dead link)
Line 17: Line 17:
| y2||int|| Second Y location of the region
| y2||int|| Second Y location of the region
|-
|-
| val||[[Value variant|variant]]|| Value to be added or string to be concatenated
| val||[[Constant variant|variant]]|| Value to be added or string to be concatenated
|}
|}



Revision as of 06:27, 5 September 2013

Description

Adds the value val (if val is a value) or concatenates it (if val is a string) to all cells in the specified region.

Parameters

Parameter Data Type Description
id int ID of the grid in question
x1 int First X location of the region
y1 int First Y location of the region
x2 int Second X location of the region
y2 int Second Y location of the region
val variant Value to be added or string to be concatenated

Return Values

returntype: Returns...

Example Call

ds_grid_add_region(grid1, 0, 0, 10, 10, "Maze")

See Also