lua/wrappers/game/lua_character.cpp
/**
	 * Returns true if this character has a destination. This will be false if one
	 * has not been set or if the character is at their destination.
	 *
	 * @returns boolean True if the character has somewhere it wants to go.
	 */
Returns true if this character has a destination. This will be false if one
has not been set or if the character is at their destination.

@returns boolean True if the character has somewhere it wants to go.
Returns true if this character has a destination . This will be false if one has not been set or if the character is at their destination . @returns boolean True if the character has somewhere it wants to go .
int Character_has_destination(lua_State *lua)
	{
		Character *obj = castUData<Character>(lua, 1);
		if (obj)
		{
			lua_pushboolean(lua, obj->hasDestination());
			return 1;
		}
		return LuaState::expectedContext(lua, "has_destination", "am.character");
	}
int Character_has_destination ( lua_State * lua ) { Character * obj = castUData < Character > ( lua , 1 ) ; if ( obj ) { lua_pushboolean ( lua , obj -> hasDestination ( ) ) ; return 1 ; } return LuaState :: expectedContext ( lua , " " , " " ) ; }
Returns true if this character has a destination.
Returns true if this character has a destination .