! Get the name of custom entity material. */
| 4903 | /*! Get the name of custom entity material. |
| 4904 | */ |
| 4905 | int CScriptObjectEntity::GetMaterial(IFunctionHandler *pH) |
| 4906 | { |
| 4907 | CHECK_PARAMETERS(0); |
| 4908 | if (m_pEntity && m_pEntity->GetMaterial()) |
| 4909 | { |
| 4910 | return pH->EndFunction( m_pEntity->GetMaterial()->GetName() ); |
| 4911 | } |
| 4912 | return pH->EndFunctionNull(); |
| 4913 | } |
| 4914 | |
| 4915 | |
| 4916 | /*! Attach character hands with IK to some position |
no test coverage detected