Thread: 3.5 Gunslinger
View Single Post
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old June 25th, 2017, 08:29 AM
Quote:
Originally Posted by Greylin View Post
I want to maintain the drop-down to select the specific weapon (e.g., Pistol, Dragon Pistol, Coat Pistol, etc.). I can enable that in the Dropdown Selection Setup in the class special. How would I capture that so the weapon IDs are not hard-coded in the ability?
You will need to add the same "tag" to each of these guns. I would recommend using the wGroup.? tag group which is under the 'Group' button in the editor. Then you can create a new tag of say wGroup.GrGuns or something. I added "GR" to represent your special two character unique user iD. You always want to do that to prevent clashing with official or community Thing ID's. You can also setup your user id value in the editor by going to "Tools->Set User Identifier".

Then once created and added to all the weapons. Your custom expression for the dropdown can be:
Code:
component.BaseWep & wGroup.GrGuns

Hero Lab Resources:
Pathfinder - d20pfsrd and Pathfinder Pack Setup
3.5 D&D (d20) - Community Server Setup
5E D&D - Community Server Setup
Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources.
Created by the community for the community
- Realm Works kickstarter backer (Alpha Wolf) and Beta tester.
- d20 HL package volunteer editor.
ShadowChemosh is offline   #8 Reply With Quote