Datasets:
Tasks:
Text Generation
Modalities:
Text
Formats:
text
Languages:
Russian
Size:
10K - 100K
Tags:
code
License:
File size: 831 Bytes
ea562e8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | 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) |