somehow i thought, this was already implemented.
would be nice to be able to intervene when someone collects a cube in certain areas.
J
PS: from the looks in the assembly, would not be too hard i guess...
Code:namespace CodeHatch.Blocks.Networking.Listeners......... public void OnCubeCollect(CubeCollectEvent theEvent) { Interface.CallHook("OnCubeDestroyed", (object) theEvent); if (!Player.IsLocalServer) return; theEvent.Recipients = EventReceiverController.GetEventRecievers(theEvent.Grid.LocalToWorldCoordinate(theEvent.Position)); }
Request OnCubeCollect hook (Reign of kings)
Discussion in 'Feature Suggestions' started by juk3b0x, Aug 27, 2016.