lua/wrappers/game/lua_character.cpp
/**
	 * If this character has a destination, this returns how long the path
	 * is to the destination from the characters current location in world units.
	 *
	 * @returns number The length of the characters current path.
	 */
If this character has a destination, this returns how long the path
is to the destination from the characters current location in world units.

@returns number The length of the characters current path.
If this character has a destination this returns how long the path is to the destination from the characters current location in world units . @returns number The length of the characters current path .
int Character_destination_length(lua_State *lua)
	{
		Character *obj = castUData<Character>(lua, 1);
		if (obj)
		{
			lua_pushnumber(lua, obj->getDestinationLength());
			return 1;
		}
		return LuaState::expectedContext(lua, "destination_length", "am.character");
	}
int Character_destination_length ( lua_State * lua ) { Character * obj = castUData < Character > ( lua , 1 ) ; if ( obj ) { lua_pushnumber ( lua , obj -> getDestinationLength ( ) ) ; return 1 ; } return LuaState :: expectedContext ( lua , " " , " " ) ; }
If this character has a destination, this returns how long the path
 is to the destination from the characters current location in world units.
If this character has a destination this returns how long the path is to the destination from the characters current location in world units .