Jump to content

String Parm/Inputs Syntax error


Solitude

Recommended Posts

Hey guys,

 

Currently writing a shader in vex (via the vex builder type), and I'm running into an issue where it works great right up until I try plugging in a string parm node into the input on my node in a shop network. If I middle click "map1" and do promote parameter I get:

'Error:       Syntax error, unexpected identifier.\t (3,20)'

if I delete that node and middle click map2 I get:

"Error:       Syntax error, unexpected identifier, expecting '}'.\t (3,23)"

In my outer code I have two functions -- neither of which have the name of the input being referenced at all.  In the Inner code I have:

string mapary[] = {$map1,$map2,$map3,$map4,$map5};

then later down the line I'm calling  mapary[idx]    no other reference to map1 (or any of the others) which is currently what I'm inputting.  I've tried other names for it as well just in case, such as mapa  or map_a  Any idea with what I'm doing wrong?

 

 

  • Like 1
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...