//------------------------------------------------------------------------ int CScriptBind_Actor::GetArmor(IFunctionHandler *pH) { CActor *pActor = GetActor(pH); if (!pActor) return pH->EndFunction(); if (pActor) return pH->EndFunction(pActor->GetArmor()); return pH->EndFunction(); }