View Single Post
TCArknight
Senior Member
 
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321

Old August 8th, 2018, 01:25 PM
I have an action button on a portal.
Code:
    <portal
      id="rollability"
      style="actBig"
      tiptext="Click to roll your ability scores.">
      <action
        action="trigger"
        confirm="This will reroll your base attributes. Proceed?">
        <trigger><![CDATA[
		  perform hero.assign[Helper.RollAbilities]
		  notify "Button Clicked"
		]]></trigger>
        <buttontext><![CDATA[
          @text = "Roll Abilities"
          ]]></buttontext>
        </action>
      </portal>
When the button is clicked the confirmation message does pop up. But, the Helper.RollAbilities tag is never assigned to the hero, and the notify never shows.

Am I missing something regarding the trigger?

Working on -
  • (SWADE) WIP Savage Rifts
  • Savage Rifts (Deluxe): Update link in This post
  • Star Trek Adventures: Update link in This post
TCArknight is offline   #1 Reply With Quote