BIS_fnc_MP, if not isPersistent is true, does not work for clients before the mission has started. {F25932} {F25933}
Description
Details
- Legacy ID
- 2302686498
- Severity
- None
- Resolution
- Open
- Reproducibility
- Always
- Category
- Scripting
Place code in init.sqf:
// Functions
fnc_function =
{
DEBUG = DEBUG + [_this];
};
// Initiation
enableSaving [false, false];
DEBUG = [];
// Code
["This works for server, not for (random?) clients.", "fnc_function", true] call BIS_fnc_MP;
["This works for both clients and server.", "fnc_function", true, true] call BIS_fnc_MP;
sleep 1;
["This works for both clients and server.", "fnc_function", true] call BIS_fnc_MP;
["This works for both clients and server.", "fnc_function", true, true] call BIS_fnc_MP;
Server's DEBUG: ["This works for server, not for (random?) clients.","This works for both clients and server.","This works for server, not for (random?) clients.","This works for both clients and server.","This works for both clients and server.","This works for both clients and server.","This works for both clients and server.","This works for both clients and server."]
Client's DEBUG: ["This works for both clients and server.","This works for both clients and server.","This works for both clients and server.","This works for both clients and server.","This works for both clients and server.","This works for both clients and server."]
Event Timeline
Hello,
thank you for submitting the ticket. Could you please upload a simple repro mission displaying the problem? It would be a big help.
Thank you.
Absolutely! Sorry, I was in a hurry to finish a Friday-mission. But I will do it now!
I maybe should point out that in the examples in the mission I uploaded the server is a client (me, not dedicated), but the client is an real internet-client (an other Arma-player).
Ops, just realized that I saved the mission as "BIS_fnc_dirTo", but it should obviously be named "BIS_fnc_MP".
And uploaded the example mission with correct name, but it seams that I can not delete the old one?