-
June 27th, 2021, 01:03 #451
Ruleset Wizard
The Ruleset Development Environment
www.rulesetwizard.com
Ruleset Wizard Tutorials
Damned's Ruleset Wizard Tutorials
-
June 29th, 2021, 21:10 #452
- Join Date
- May 2016
- Posts
- 522
Templates in Ruleset Wizard
Hello all,
I'm looking to create a button like the one in template_campaign.xml for button_vehicle_type.
<template name="button_vehicle_type">
<button_text_sm>
<anchored to="buttonanchor" width="80">
<top />
<left anchor="right" relation="relative" offset="5" />
</anchored>
<state textres="vehicle_button_type" />
<script>
function onButtonPress()
local w = Interface.findWindow("reference_groupedlist", "reference.vehiclebytype");
if w then
Interface.toggleWindow("reference_groupedlist", "reference.vehiclebytype");
else
w = Interface.openWindow("reference_groupedlist", "reference.vehiclebytype");
w.init({ sRecordType = "vehicle", sListView = "bytype" });
end
end
</script>
</button_text_sm>
</template>
I know that in Ruleset Wizard I could create a template_campaign.xml file and manage the XML myself but I'm wondering if there is a way in Ruleset Wizard to create a Window and have the items in the window actually written out as a set of templates. Can that be done with some custom property in the window definition? I'm looking to avoid the XML maintenance if I can.
Thanks,
Jason
-
July 1st, 2021, 07:46 #453
Ruleset Wizard
The Ruleset Development Environment
www.rulesetwizard.com
Ruleset Wizard Tutorials
Damned's Ruleset Wizard Tutorials
-
July 1st, 2021, 14:37 #454
- Join Date
- May 2016
- Posts
- 522
Thanks. I'm sure there is a lot on that list. Keep up the great work and thanks for creating such a wonderful tool.
Jason
-
July 7th, 2021, 22:36 #455
- Join Date
- May 2016
- Posts
- 522
Bug Report (let me know if you would prefer I have a single post with reports and just edit that post as needed)
1. If you have an item highlighted in the main window (it has the selection box around the object selected) and then change tabs and then change back to the original tab the selection box disappears. It is actually still selected as seen in the object explorer and I can actually still move the object.
Jason
-
July 8th, 2021, 19:20 #456
Ruleset Wizard
The Ruleset Development Environment
www.rulesetwizard.com
Ruleset Wizard Tutorials
Damned's Ruleset Wizard Tutorials
-
July 9th, 2021, 17:46 #457
- Join Date
- May 2016
- Posts
- 522
QoL Feature Request
1. If you highlight a line and hit - then it comments out the lines. If the lines are already commented out in the first column then remove the comments in the front of the line (keeping any comments that might exist elsewhere in the line)
-
July 10th, 2021, 15:32 #458
Ruleset Wizard
The Ruleset Development Environment
www.rulesetwizard.com
Ruleset Wizard Tutorials
Damned's Ruleset Wizard Tutorials
-
July 11th, 2021, 16:21 #459
- Join Date
- May 2016
- Posts
- 522
Bug / Lazy user protection
1. Frame Offset field is not updated prior to save/publish. (likely affects all fields but frame offset is easy to test)
Repeat by doing:
1. Change a frame offset field (don't leave the field)
2. Ctrl-G (you can also do Ctrl-S with a Ctrl-G and it still doesn't update)
3. Refresh fantasy grounds - and you will note that the update didn't take.
If you click such that the field loses focus prior to the Ctrl-G then it works fine.
2. If you click in a field in the Properties list, say the middle of some text, then start to type an edit, you will lose the ability to use arrow keys to move within the text.
HarpoLast edited by jharp; July 11th, 2021 at 16:24.
-
July 12th, 2021, 19:16 #460
Ruleset Wizard
The Ruleset Development Environment
www.rulesetwizard.com
Ruleset Wizard Tutorials
Damned's Ruleset Wizard Tutorials
Thread Information
Users Browsing this Thread
There are currently 3 users browsing this thread. (0 members and 3 guests)
Bookmarks