Quote:
Originally Posted by Greylin
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