src/humanheadai.cpp
// headLinearMovementDoneEvent *******
// This is the code to be executed when a head finishes with the
// execution of a linear movement.

headLinearMovementDoneEvent
This is the code to be executed when a head finishes with the
execution of a linear movement.
headLinearMovementDoneEvent This is the code to be executed when a head finishes with the execution of a linear movement .
bool headLinearMovementDoneEvent(
	vectorListNodeStruct<enemyUnitStruct>& unit)
{
	if (unit.data.aiSpecific.headData.fallingHead) {
		unit.data.aiSpecific.headData.fallingHead=false;
		unit.data.currentFrame=
			getFrameIndexAndListByName("humanHeadNormal");
	}
	return true;
}
bool headLinearMovementDoneEvent ( vectorListNodeStruct < enemyUnitStruct > & unit ) { if ( unit . data . aiSpecific . headData . fallingHead ) { unit . data . aiSpecific . headData . fallingHead = false ; unit . data . currentFrame = getFrameIndexAndListByName ( " " ) ; } return true ; }
headLinearMovementDoneEvent 
This is the code to be executed when a head finishes with the
execution of a linear movement.
headLinearMovementDoneEvent This is the code to be executed when a head finishes with the execution of a linear movement .
// check what kind of switch it was
 // it was falling, and has just stopped the free fall
 // set another frame
 // common frame
 // all ok
