Ds grid add disk: Difference between revisions

From ENIGMA
Jump to navigation Jump to search
m (Added 'see also' section)
m (→‎Parameters: Removed dead link)
Line 15: Line 15:
| r||int|| Radius of disk centre
| r||int|| Radius of disk centre
|-
|-
| val||[[Value variant|variant]]|| Value to be added
| val||[[Constant variant|variant]]|| Value to be added
|}
|}



Revision as of 06:26, 5 September 2013

Description

Adds the value val to all cells in the grid id inside the disk (circle) with centre (xm, ym) and radius r.

Parameters

Parameter Data Type Description
id int Grid to which values are to be added
xm int X location of disk centre
ym int Y location of disk centre
r int Radius of disk centre
val variant Value to be added

Return Values

returntype: Returns...

Example Call

ds_grid_add_disk(grid4,20,20,7,2)

See Also