I've found a function that is not in "scripting reference" or anywhere on the forum when i searched for it.
It has been of help to me when trying to solve a few problems so I'll post it here for anyone that don't know about it. I think this comes under "General Help - Scripting"
Anyone else know of "unknown" functions that might be of use? Please post

---------------------------------------------------------------------
VectorFromLineToPoint( line_point1, line_point2, target_point);
---------------------------------------------------------------------
I've found this useful a few times, but treyarch have used it to determine if an entity is in front or behind a player or character. In sniper_stealth_logic.gsc on line 257 you can see an example of that, the function is called "entity_is_in_front_of_me( target_entity )".