I need to change original brain_player_client.fsm in init_newBody.sqf to custom from server.
Original brain_player_client.fsm execute on client from client side addons.
I need to send custom fsm from server to client
like this
but it does not work
How do it?
THANX!
Original brain_player_client.fsm execute on client from client side addons.
Code:
[_id] spawnForClient compile "player execFSM '\dz\modulesDayZ\fsm\brain_player_client.fsm'";
I need to send custom fsm from server to client
like this
Code:
brainPlayerFSM = compile preprocessFileLineNumbers "scripts\fsm\brain_player_client.fsm";
[_id,brainPlayerFSM] spawnForClient {
_brainPlayerFSM = _this select 1;
player execFSM _brainPlayerFSM;
};
but it does not work
How do it?
THANX!