Datasets:
Tasks:
Text Generation
Modalities:
Text
Formats:
text
Languages:
Russian
Size:
10K - 100K
Tags:
code
License:
Fakemeta function: | |
PHP Code: | |
EngFunc_FindEntityInSphere | |
Description: | |
Find entities within a radius. The function returnes the next entity id after the start entity! | |
This is a drawing to show how this function works: | |
[IMG]http://img265.**************/img265/2395/screenshot053.png[/IMG] | |
If we use | |
PHP Code: | |
engfunc(EngFunc_FindEntityInSphere, -1, origin, radius) | |
The function in the situation above will return 1! | |
PHP Code: | |
engfunc(EngFunc_FindEntityInSphere, 20, origin, radius) | |
The function in the situation above will return 30! | |
PHP Code: | |
engfunc(EngFunc_FindEntityInSphere, 100, origin, radius) | |
The function in the situation above will return 0, meaning that it didn't find an entity with an id grater than 100! | |
Usage: | |
PHP Code: | |
engfunc(EngFunc_FindEntityInSphere, ent_to_start, origin, radius) |