How to get custom variables through detial?

   723   2   0
User Avatar
Member
63 posts
Joined: 2月 2022
Online
I created the seed variable so that it +1 every 10 frames.





Then convert to detail via vex.



Everything is normal up to this point, but when I reference the seed variable, an error occurs.



`details("../set_seed", "seed_detail")`
`detail("../set_seed", "seed_detail", 0)`

I tried two methods, but neither can be quoted. Why is this?
thank you very much for your help.
Edited by HenDaSheng - 2023年10月27日 06:12:12
User Avatar
Member
222 posts
Joined: 5月 2017
Offline
Hey, detail("../set_seed", "seed_detail", 0) without "`" work for me. The "grave accent" characters are only needed if, for example the input field is a string and you want to pass an expression.
Edited by viklc - 2023年10月27日 21:32:13
User Avatar
Member
63 posts
Joined: 2月 2022
Online
viklc
Hey, details() expression is for reading intrinsic values, detail("../set_seed", "seed_detail", 0) without "`" work for me. The "grave accent" characters are only needed if, for example the input field is a string and you want to pass an expression. In your case, both the retruned value of the expression as well as the input are integers.

I was too careless, just delete "``" and it will be fine. Thank you for your help!
  • Quick Links