Jump to content
Sign in to follow this  
rakowozz

Localization & Server Side Parameters

Recommended Posts

Hey, everyone. I've currently no ideas to work around this: I'm running BIS_fnc_taskCreate on the server, and the task text is localized.

if (isServer) then
{
   [west, "tsk1", [localize "string_tsk1", localize "string_tsk1_title", ""], [], "Created"] spawn BIS_fnc_taskCreate;
};

Problem is, the localization will go according to the server language, and tasks may appear with the wrong language to the clients. This could also happen to a lot of other stuff broadcasted from the server.

Any ideas?

Share this post


Link to post
Share on other sites

Sorry, i dont know the answer to your question but why not use one of the task scripts such as Shukos taskmaster?

It will make creating tasks much easier

Share this post


Link to post
Share on other sites

I'm a big fan of SHK_Taskmaster as well, but it presented the same obstacle with localization. And notifications were sometimes acting funny if I needed to reuse tasks - i.e. playing through the same objective multiple times.

I'll be using createSimpleTask locally for now, having to take care to make all of them JIP enabled.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×