|
|
@ -519,6 +519,7 @@ void CLuaIHMRyzom::RegisterRyzomFunctions( NLGUI::CLuaState &ls )
|
|
|
|
LUABIND_FUNC(getCharacterSheetRegionForce),
|
|
|
|
LUABIND_FUNC(getCharacterSheetRegionForce),
|
|
|
|
LUABIND_FUNC(getCharacterSheetRegionLevel),
|
|
|
|
LUABIND_FUNC(getCharacterSheetRegionLevel),
|
|
|
|
LUABIND_FUNC(getRegionByAlias),
|
|
|
|
LUABIND_FUNC(getRegionByAlias),
|
|
|
|
|
|
|
|
LUABIND_FUNC(getGroundZ),
|
|
|
|
LUABIND_FUNC(tell),
|
|
|
|
LUABIND_FUNC(tell),
|
|
|
|
LUABIND_FUNC(isRingAccessPointInReach),
|
|
|
|
LUABIND_FUNC(isRingAccessPointInReach),
|
|
|
|
LUABIND_FUNC(updateTooltipCoords),
|
|
|
|
LUABIND_FUNC(updateTooltipCoords),
|
|
|
@ -2614,6 +2615,17 @@ string CLuaIHMRyzom::getRegionByAlias(uint32 alias)
|
|
|
|
return ContinentMngr.getRegionNameByAlias(alias);
|
|
|
|
return ContinentMngr.getRegionNameByAlias(alias);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sint32 CLuaIHMRyzom::getGroundZ(uint32 x, sint32 y)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
CVector vect = CVector(x, y, 0);
|
|
|
|
|
|
|
|
nlinfo("TEST");
|
|
|
|
|
|
|
|
UserEntity->getCollisionEntity()->snapToGround(vect);
|
|
|
|
|
|
|
|
nlinfo("Ground Z of (%d,%d) = %d", x, y, vect.z);
|
|
|
|
|
|
|
|
return vect.z;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ***************************************************************************
|
|
|
|
// ***************************************************************************
|
|
|
|
void CLuaIHMRyzom::tell(const ucstring &player, const ucstring &msg)
|
|
|
|
void CLuaIHMRyzom::tell(const ucstring &player, const ucstring &msg)
|
|
|
|
{
|
|
|
|
{
|
|
|
|