Syle Devin Posted September 13, 2013 Share Posted September 13, 2013 I've never used prim params before so I'm not entirely sure what I'm doing. In learning I've run into an error that I don't get because I don't see an error. With the line of code below i am getting a "function call mismatches type of number of arguments" error. Hoping someone might be able to help find what it is talking about.I've already looked over each rule and can't find where I might have added too many or too few params. llSetLinkPrimitiveParamsFast( 4, [ PRIM_GLOW, ALL_SIDES, .03 ],[ PRIM_FULLBRIGHT, ALL_SIDES, TRUE ],[ PRIM_POINT_LIGHT, TRUE ,<1.0, 1.0, 1.0>, 1.0 , 6.0, 0.75 ]); Link to comment Share on other sites More sharing options...
Syle Devin Posted September 13, 2013 Author Share Posted September 13, 2013 I've never used prim params before so I'm not entirely sure what I'm doing. In learning I've run into an error that I don't get because I don't see an error. With the line of code below i am getting a "function call mismatches type of number of arguments" error. Hoping someone might be able to help find what it is talking about.I've already looked over each rule and can't find where I might have added too many or too few params. llSetLinkPrimitiveParamsFast( 4, [ PRIM_GLOW, ALL_SIDES, .03 ],[ PRIM_FULLBRIGHT, ALL_SIDES, TRUE ],[ PRIM_POINT_LIGHT, TRUE ,<1.0, 1.0, 1.0>, 1.0 , 6.0, 0.75 ]); Link to comment Share on other sites More sharing options...
Dora Gustafson Posted September 14, 2013 Share Posted September 14, 2013 All the lists you have separated by commas should be in one list only The function takes two parameters only: the link number and one list :smileysurprised::smileyvery-happy: Link to comment Share on other sites More sharing options...
Tactical UwU Posted September 14, 2013 Share Posted September 14, 2013 Remove the additional brackets so the function looks like this, and it should compile: llSetLinkPrimitiveParamsFast( 4, [ PRIM_GLOW, ALL_SIDES, .03 , PRIM_FULLBRIGHT, ALL_SIDES, TRUE, PRIM_POINT_LIGHT, TRUE ,<1.0, 1.0, 1.0>, 1.0 , 6.0, 0.75 ]); Link to comment Share on other sites More sharing options...
Syle Devin Posted September 15, 2013 Author Share Posted September 15, 2013 Thanks guys, didn't realize I didn't need the brackets for each rule.. Got my script working now! Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now