Jump to content

[SOLVED]CrowdTrigger VEX Can't Access Channel?


Atom

Recommended Posts

Hi All,

 

I am trying to add a random seed to my VEX code in a Crowd Trigger. But it seems like there is a bug, using H14.396. The result is always zero. If I place this same code in a PopWrangle, it works, however.

 

Is there some other syntax required to fetch a value from a channel using VEX?

post-12295-0-66706200-1443647310_thumb.j

Edited by Atom
Link to comment
Share on other sites

The Evaluation Node Path parameter on the POP Wrangle inside the HDA was left at its default, so the ch() expressions were evaluating relative to that node rather than the top level node where the snippet comes from. I've fixed that in tomorrow's build (14.0.473) and parameters for the four geometry inputs are also now exposed.

Link to comment
Share on other sites

Cool, thanks Cameron.

 

I was also noticing another VEX oddity. That i@crowdtranstion is never valid except inside a Crowd Trigger VEX snippet. If I put the same code in a PopWrangle , on the second input of the CrowdSolver (CrowdTriggers come in on the third input), i@crowdtranstion is always zero.

Edited by Atom
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...