I think I'm missing something regarding bootstraps and containerreq scripts. I'm trying to identify when a Tao (a trait) is part of an advance, apply a tag to the Tao, then test against that tag in the containerreq script within a bootstrap element (with the goal of setting the bootstrapped pick not live).
However, I think the tag expression testing for the Helper.NoEffects tag is failing, when I think it ought not to be: when the Tao is attached to the gizmo on an Advance.
Details:
So, in an Initialize 1500 eval script on the Tao component, I'm testing whether container.ishero. Debug confirms the value to be 0, so the container is a gizmo (an Advance). I assign a tag Helper.NoEffects.
In thing_taos.dat, I've got bootstrap elements with containerreq elements testing for Helper.NoEffects and the trtUser of the Tao (containerreq runs at Initialize 9000):
In other words, the bootstrap is live if Helper.NoEffect is not present on the Tao (I wonder if this isn't my misunderstanding), and the Tao trtUser field is greater than or equal to 1.
The problem is that the Tao associated with the Advance gizmo is passing the Helper.NoEffects = 0 test when it should be failing. Thoughts?
Thanks in advance with large gratitude as always.
However, I think the tag expression testing for the Helper.NoEffects tag is failing, when I think it ought not to be: when the Tao is attached to the gizmo on an Advance.
Details:
So, in an Initialize 1500 eval script on the Tao component, I'm testing whether container.ishero. Debug confirms the value to be 0, so the container is a gizmo (an Advance). I assign a tag Helper.NoEffects.
In thing_taos.dat, I've got bootstrap elements with containerreq elements testing for Helper.NoEffects and the trtUser of the Tao (containerreq runs at Initialize 9000):
Code:
<child
entity="entTao">
<bootstrap thing="teSureFtd">
<containerreq phase="Initialize" priority="9000" name="Calc Bootstrap"><![CDATA[
Helper.NoEffects = 0 & fieldval:trtUser >= 1
]]></containerreq>
<autotag group="TaoGroup" tag="LightStep"/>
</bootstrap>
...[other bootstrap elements and close child]...
In other words, the bootstrap is live if Helper.NoEffect is not present on the Tao (I wonder if this isn't my misunderstanding), and the Tao trtUser field is greater than or equal to 1.
The problem is that the Tao associated with the Advance gizmo is passing the Helper.NoEffects = 0 test when it should be failing. Thoughts?
Thanks in advance with large gratitude as always.
Last edited: