phent_getbounds ( entity, var num, vecOutPoint );

Retrieves one of the eight bounding box vertices surrounding the entity. Please note that this bounding box does rotate along with the object.

Parameters:

entity the entity to be affected
num One of the 8 vertices to be returned, in the range of [0..7]
vecOutPoint global coordinates of the requested vertex

Returns:

1 if successful, 0 otherwise.

Speed:

Medium

Edition:

 C   P 

Example:

phent_getbounds(my, 1, my.skill1);
vec_set(you.x, my.skill1);

See also:

phent_getvelocity