iterami/Docs.htm/common HTM Repos/webgl.js/webgl_prefab_repeat(args)
- Prefab used to randomly place repeated copies of another prefab within any number of areas.
- If the
"characters" arg is not false, new characters will be created for each prefab and will inherit the specified properties.
- You can repeat entities without using a prefab by setting the
"type" arg to "webgl_entity_create" to pass the "properties" to webgl_entity_create(args) as its args.
| areas
|
| array of area objects
|
| characters
| false
| boolean false or object
|
| prefix
| entity_id_count
| object
|
| properties
| {}
| object
|
| type
|
| string
|
| count
| 1
| number
|
| x_max
| 0
| number
|
| x_min
| 0
| number
|
| y_max
| 0
| number
|
| y_min
| 0
| number
|
| z_max
| 0
| number
|
| z_min
| 0
| number
|