• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Dropdown menu on item power

TheIronGolem

Well-known member
Has anyone else tried creating an item power (specifically, a weapon power) that employs a dropdown selector? I've started tinkering with one myself, by having the power put text into "parent.field[usrCandid1]". I can see in the debug menu that the text is going in, but no selector is appearing on the weapon when the power is added to it. I'm hoping someone else has done this before and can point me to an example I could look at?
 
You say you're making an item power that does this, but then the script fragment you mention starts with "parent." which would mean it's altering the parent of the item power (which is the weapon), not the item power itself, so I'm confused as to how you're trying to accomplish this.
 
Well, I was altering the weapon in the hopes that the dropdown would appear on the weapon itself so the user could make changes without having to open the weapon-customizer menu.

For what it's worth, I also tried setting usrCandid1 on the power. When I did that, the menu showed the "choose" text on the item power name once I added the power, but still no dropdown. I'd be fine with making the user make their choice here.

Admittedly, I haven't tried using the "fShowWhat.?" tags, but I need to select from some custom components I wrote, rather than any of the standard stuff like skills or spell levels.

I'll post what I've done later tonight, in case this still isn't making sense.
 
I tried this with ammo for the modern datasets. I wasn't able to get the drop box to show on the weapon. I had to make a container in gear and then get the drop box to show up in the active abilities tab, but not under the weapon itself.
 
I tried this with ammo for the modern datasets. I wasn't able to get the drop box to show on the weapon. I had to make a container in gear and then get the drop box to show up in the active abilities tab, but not under the weapon itself.

Interesting. Can you tell me a bit about how you did that? I couldn't piece it together from looking at your files; equipment is new-ish territory for me.
 
Sure, hopefully I can explain it, it's gets a little crazy. If you can check out the item power "Armor Piercing" and the gear "Ammo Magazine" in the PFRPG_The_Modern_Path_Heroes.user file.

Basically, make a gear item with whatever you want in the drop boxes and bootstrap it to the item power. Make sure you have "show in active abilities" box checked on the item power.
You might have to re-load HL. But it should show up in the "In Play" tab under activate abilities.

Oh, almost forgot, make sure you are looking at the update files I am working on.
 

Attachments

Last edited:
Back
Top