Thread: MoreCore Initiative Order
-
February 11th, 2018, 10:51 #11
Here would be the code if you want to allow user to select initiative order as option (didn't bother make it .ext, just the code copy-pasted here)
Code:<?xml version="1.0" encoding="iso-8859-1"?> <root version="3.0" logo="logo.png"> <properties> <name>Initiative Order</name> <version>1.0</version> <author>Aki Heikkinen (Ikael)</author> <description>New option to define initiative order</description> <ruleset>Any</ruleset> </properties> <announcement text="Initiative Order v1.0" font="emotefont" /> <base> <string name="option_label_INAD">Initiative: Order</string> <string name="option_val_desc">Descending</string> <string name="option_val_asc">Ascending</string> <script name="AscInitOrder"> function onInit() OptionsManager.registerOption2("INAD", true, "option_header_combat", "option_label_INAD", "option_entry_cycler", { labels = "option_val_asc", values = "asc", baselabel = "option_val_desc", baseval = "desc", default = "desc" }) OptionsManager.registerCallback("INAD", onOptionUpdate) onOptionUpdate() end function onOptionUpdate() if OptionsManager.isOption("INAD", "desc") then CombatManager.setCustomSort(sortfuncDescending) EffectManager.setInitAscending(false) else CombatManager.setCustomSort(sortfuncAscending) EffectManager.setInitAscending(true) end end function sortfuncDescending(...) return CombatManager.sortfuncStandard(...) end function sortfuncAscending(...) return not CombatManager.sortfuncStandard(...) end </script> </base> </root>
"Alright, you primitive screwheads, listen up: THIS... is my BOOMSTICK!" -- Ash Williams, Army of Darkness
Post your SavageWorlds ruleset feature requests and issue reports here!
-
February 11th, 2018, 11:46 #12
-
February 11th, 2018, 12:14 #13"Alright, you primitive screwheads, listen up: THIS... is my BOOMSTICK!" -- Ash Williams, Army of Darkness
Post your SavageWorlds ruleset feature requests and issue reports here!
-
February 11th, 2018, 12:51 #14
Fantastic work Gents!
Cross-examining Lawyer: Mister Cogburn, in your four years as US Marshal, how many men have you shot?
Rooster Cogburn: Shot? Or killed?
Cross-examining Lawyer: Let us restrict it to killed so we may have a manageable figure!
-
February 11th, 2018, 13:44 #15
With Ikaels permission Ive tested and included the code into the new release of MoreCore.
-
February 11th, 2018, 13:46 #16
-
February 11th, 2018, 13:48 #17
-
February 11th, 2018, 13:50 #18
-
September 19th, 2018, 03:44 #19
Bit of a thread necro here but MoreCore has a whole slew of new Initiative options now.
You can ASC and DESC initiative.
You can choose from built in aut init options for d4, d6, d10, 2d10, d10, d20, d100
You can have static init
You can have static init modifiers/bonuses
And there is also a /init roll that lets you use any standard dice string for your init - eg /2d6+1d10+4
Oh and options for auto rolling, auto rolling for NPCs only.
And options for having no init but still tracking who has acted.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks