Closed hyjhkt closed 3 weeks ago
The script on the item prefabricated body takes effect on the server
It sounds/appears this is more-so about the particular setup, whereas this repository is intended for bugs/crashes/issues/etc in the game rather than modding assistance, sorry.
The following events take effect in single player mode, but not on the server. The server has enabled "UnityEvents": {"Allow-Server-Messages": true, "Allow-Server-Commands": true, "Allow-Client-Messages": true, "Allow-Client-Commands": true In the first image, the object under 'Projectile' has an ActivationEventHook. However, when the 'Grenade Launcher' hits' Projectile ', the ActivationEventHook does not take effect. After the grenade launcher fired a Projectile, other prefabricated items used NpcGlobalEventMessenger to send events, but the NpcGlobalEventHook on the Projectile did not receive any events