Custom init EH isn't call player side when an agent is created locally to a dedicated server.
This break CBA function. This is not limited to animals.
Custom init EH isn't call player side when an agent is created locally to a dedicated server.
This break CBA function. This is not limited to animals.
Add to description.ext:
class Extended_InitPost_EventHandlers { class Animal { class btc_actions { init = "systemChat str _this;"; }; }; };
Code to execute in debug consol:
t = createAgent ["Goat_random_F", getPos (allplayers # 0), [], 0, "CAN_COLLIDE"];
Exec player side: systemChat show a message.
Exec server side: systemChat don't show a message.
private _group = createGroup [civilian, true]; t = _group createUnit ["Goat_random_F", getPos (allplayers # 0), [], 0, "CAN_COLLIDE"];
Exec player side: systemChat show a message.
Exec server side: systemChat show a message.
Resolving this issue might resolve those: https://feedback.bistudio.com/T155860 https://feedback.bistudio.com/T155634
I didn't test every units but the "B_officer_F" doesn't work either.
I don't know but veteran29 said this in ace3 slack:
can you try modifying the goat_random_f class to add custom init EH to it and test if it works? Maybe these are broken on Dedicated :bleach:
There's even a FT ticket from you: https://feedback.bistudio.com/T155860
Looking at this behaviour I assume that init does not work on dedicated server for agents.
Or animals.