View Single Post
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 05-26-2009 , 09:37   Re: [INFO] Fakemeta & Ham detailed function descriptions and examples
Reply With Quote #7

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, -1originradius
The function in the situation above will return 1!
PHP Code:
engfunc(EngFunc_FindEntityInSphere20originradius
The function in the situation above will return 30!
PHP Code:
engfunc(EngFunc_FindEntityInSphere100originradius
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_FindEntityInSphereent_to_startoriginradius
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.

Last edited by ot_207; 05-27-2009 at 09:03.
ot_207 is offline