(If you want to see the animation, click the link --- its quite gory, be warned)

@ghost @carter_dc All set! Thanks @carter_dc for the one-on-one, I finally got a generic socket listener set up that I can fire hooks through:
Hooks.on("init", () => {
game.alienrpgoverrides = {
preloadBirth: () => game.socket.emit("system.alienrpg", ["ARPGO_preloadSplashElement", "bloodbursterBirth"]),
loadBirth: () => game.socket.emit("system.alienrpg", ["ARPGO_renderSplashElement", "bloodbursterBirth"])
};
game.socket.on("system.alienrpg", (data) => Hooks.call(...[data].flat()));
});
Hooks.on("init", () => {
game.alienrpgoverrides = {
preloadBirth: () => game.socket.emit("system.alienrpg", ["ARPGO_preloadSplashElement", "bloodbursterBirth"]),
loadBirth: () => game.socket.emit("system.alienrpg", ["ARPGO_renderSplashElement", "bloodbursterBirth"])
};
game.socket.on("system.alienrpg", (data) => Hooks.call(...[data].flat()));
});
Muahahahah. The above code will preload a terrifying animation of an alien bursting out of some poor sucker's back, along with a jumpscare-suitable sound sting, and then render the animation at full screen, bringToFront()'ed over their character sheets, while a guh-GUUHH sound booms in their ears. They're gonna shit.
1 Reply
Eunomiac
EunomiacOP4y ago
If you want to see the animation, click the link (its quite gory, be warned) https://drive.google.com/file/d/1f5JamVMxpl-2KrsxWM7v5aSbo7ohXE5N/view
Want results from more Discord servers?
Add your server