/////////////////////////////////////////////////////////////////////
| 1718 | |
| 1719 | ////////////////////////////////////////////////////////////////////////// |
| 1720 | int CScriptBind_Entity::GetCharacter(IFunctionHandler* pH, int nSlot) |
| 1721 | { |
| 1722 | GET_ENTITY; |
| 1723 | ICharacterInstance* pCharacter = pEntity->GetCharacter(nSlot); |
| 1724 | if (pCharacter) |
| 1725 | { |
| 1726 | return pH->EndFunction(ScriptHandle(pCharacter)); |
| 1727 | } |
| 1728 | return pH->EndFunction(); |
| 1729 | } |
| 1730 | |
| 1731 | ////////////////////////////////////////////////////////////////////////// |
| 1732 | int CScriptBind_Entity::SetSlotScale(IFunctionHandler* pH, int nSlot, float fScale) |
no test coverage detected