Sources/CryGame C++/Solution1/CryGame/ScriptObjectPlayer.cpp
//////////////////////////////////////////////////////////////////////
//checks with physics if can stand at current position (not inside of something)

checks with physics if can stand at current position (not inside of something)
checks with physics if can stand at current position ( not inside of something )
int CScriptObjectPlayer::CanStand(IFunctionHandler *pH)
{
	CHECK_PARAMETERS(1);
	Vec3 vec;
	CScriptObjectVector oVec(m_pScriptSystem,true);
	pH->GetParam(1,*oVec);
	vec=oVec.Get();
	bool	bCanStand = m_pPlayer->CanStand( vec ); 
	return pH->EndFunction(bCanStand);
}
int CScriptObjectPlayer :: CanStand ( IFunctionHandler * pH ) { CHECK_PARAMETERS ( 1 ) ; Vec3 vec ; CScriptObjectVector oVec ( m_pScriptSystem , true ) ; pH -> GetParam ( 1 , * oVec ) ; vec = oVec . Get ( ) ; bool bCanStand = m_pPlayer -> CanStand ( vec ) ; return pH -> EndFunction ( bCanStand ) ; }
checks with physics if can stand at current position (not inside of something)
checks with physics if can stand at current position ( not inside of something )