Sources/CryGame C++/Solution1/CryGame/ScriptObjectVehicle.cpp
//////////////////////////////////////////////////////////////////////
/*! Initializes the script-object and makes it available for the scripts.
		@param pScriptSystem Pointer to the ScriptSystem-interface
		@param pEntitySystem Pointer to the EntitySystem-interface
*/
Initializes the script-object and makes it available for the scripts.
Initializes the script - object and makes it available for the scripts .
bool CScriptObjectVehicle::Create(IScriptSystem *pScriptSystem, IEntitySystem *pEntitySystem)
{
	m_pEntitySystem = pEntitySystem;
	Init(pScriptSystem,this);
	m_soContactPtVec.Create(pScriptSystem);
	m_soSlipVelVec.Create(pScriptSystem);
	m_pScriptThis->RegisterParent(this);
	m_GetVehicleStatus.Create( pScriptSystem );
	m_GetWheelStatus.Create( pScriptSystem );
	return true;
}
bool CScriptObjectVehicle :: Create ( IScriptSystem * pScriptSystem , IEntitySystem * pEntitySystem ) { m_pEntitySystem = pEntitySystem ; Init ( pScriptSystem , this ) ; m_soContactPtVec . Create ( pScriptSystem ) ; m_soSlipVelVec . Create ( pScriptSystem ) ; m_pScriptThis -> RegisterParent ( this ) ; m_GetVehicleStatus . Create ( pScriptSystem ) ; m_GetWheelStatus . Create ( pScriptSystem ) ; return true ; }
Initializes the script-object and makes it available for the scripts.
Initializes the script - object and makes it available for the scripts .