How can I use stamp() expression in ch() expression?

   1269   2   1
User Avatar
Member
1 posts
Joined: Sept. 2019
Offline
Hi.
When writing expression below:
ch('../../door_location_`stamp(“../stamp_door”,“door_index”,1)`')
I just got a warning for “Bad parameter reference” and the expression didn't work as expect.
So how can I fix this problem or it's just impossible to use stamp expression in ch expression?
Thx in advance!

Attachments:
IMG20190906_120359.png (27.4 KB)

User Avatar
Member
46 posts
Joined: April 2018
Offline
Try removing the ‘ after the first bracket and the ’ before the final bracket. Cheers!
Procedural Girl
User Avatar
Member
8785 posts
Joined: July 2007
Offline
ch('../../door_location_' + stamp("../stamp_door","door_index",1))
Tomas Slancik
FX Supervisor
Method Studios, NY
  • Quick Links