Trigger button - No action?
I have an action button on a portal.
Code:
<portal Am I missing something regarding the trigger? |
You can't assign tags permanently with a trigger script - they'll vanish once the current calculation pass is done, because tag lists are always empty at the beginning of evaluation, and then the scripts assign more tags, and the button's script isn't running every single calculation pass. The script will have to change a user field or a persistent derived field, and then a script will look at that to determine whether to assign the tag.
|
Thanks Mathias. :)
I did try having an foreach pick loop in the trigger to step through each Attribute on the hero and modify a field, but that didn’t seem to work either. Neither did calling a procedure that did the same. Shouldn’t the notify statement run at least? Even if it’s the only thing in the trigger, no notification pops up. |
Does the notify pop up the next time you make some other change - just enough to trigger a re-evaluation, like adding and deleting a space from the name?
If not, test whether commenting out line 1 of that script gets the notify working - could be that assigning a tag is really bad, but not something that's getting a warning, so HL just stops running the script. |
No such luck....
Code:
<portal Code:
<field Thing is, I'm not seeing a difference between what I have, and the same type of portal from the sample In Play tab. |
Ok, one thing I notice is that each other instance of the triggers are part of portals that are in templates.
I try modifying it to part of a template: Code:
<template Quote:
|
For that error, please show me the <templateref/> down in the layout element where this template has been placed.
|
I had a feeling I might be missing something there, but couldn’t figure out what....
Code:
<templateref template=“baRoll” taborder=“60” /> |
Since you have a line in there that's modifying abilAccuracy, I'd use abilAccuracy. That way, that line can be changed to:
field[trtBase].value = myVal The actor should also work. |
Thank you!
I’ll give that a shot when I get home this evening... |
All times are GMT -8. The time now is 05:28 PM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.