Thread: Death Save rolls (5E)
-
November 2nd, 2024, 02:53 #1
Death Save rolls (5E)
In 5E, what code gets called when the player clicks on the death save dice icon? Or when the option is set to auto-roll death saves?
I can override onDeathRoll to hide the chat message, but at that point the roll (the animation of the dice rolling) has already occurred.
Thanks!
-
November 3rd, 2024, 04:15 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 21,175
ActionSave.performDeathRoll
Regards,
JPG
-
November 3rd, 2024, 22:59 #3
Thank you!
So if I wanted to override that to hide the roll, I would do something like this?
ActionSave_performDeathRoll = ActionSave.performDeathRoll
ActionSave.performDeathRoll = performDeathRoll
ActionsManager.registerResultHandler("TBD", performDeathRoll)
I'm very unsure about register - is that the right method, and what would the first parameter be?
-
Yesterday, 02:33 #4
MOD: moved to Workshop
Problems? See; How to Report Issues, Bugs & Problems
On Licensing & Distributing Community Content
Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
Note, I am not a SmiteWorks employee or representative, I'm just a user like you.
Thread Information
Users Browsing this Thread
There are currently 2 users browsing this thread. (1 members and 1 guests)
Bookmarks