Jump to content

Quest big_notice


Recommended Posts

I search for a way to insert big_notice (/b command) into a quest
Problem is that i want to notice only player that starts quest.

As far as i know notice_in_map function shows notice to every player in a map.

Also it is possible to make "delay" in notice_in map function?
Or other timer, something  that waits X seconds before run.

Link to comment
Share on other sites

Hello, try this:
In questlua_global.cpp

Search for "int _notice(lua_State* L)", after this function add:
 

	int _notice_big(lua_State* L)
	{
		ostringstream s;
		combine_lua_string(L, s);
		CQuestManager::Instance().GetCurrentCharacterPtr()->ChatPacket(CHAT_TYPE_BIG_NOTICE, "%s", s.str().c_str());
		return 0;
	}

 

Also add after this line "            {    "notice",                        _notice                            }," next:

			{	"notice_big",						_notice_big							},

And add this function in share/locale/XX/quest/quest_functions

 

Regards

  • Love 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.