Hello, I am trying to write a string in my main object script that allows binding two parameter together.
Example : *Parameter1 + 1 = Parameter2* (both parameters are determined for base values) It didn’t work but this is the idea
Values (example):
Parameter1 = 100
Parameter2 = 101
This is the string I wrote in my script for graphical editing by using hotspot:
HOTSPOT2 0, 0, UNID, Parameter2, 1+256
HOTSPOT2 -1, 0, UNID, Parameter2, 3
HOTSPOT2 Parameter2, 0, UNID, Parameter2, 2
If i drag the hotspot to make Parameter2 set at 51 the object follows and it works, but the parameter1 stays at 100
I would like those two parameter to be bound, and if the Parameter2 = 51 then the parameter1 would be 50
I summarize :
If I enter a value for parameter1, the parameter2 will follow
If I enter a value for parameter2, the parameter1 will follow
If you know a way to bind those two parameters, it would be so nice 🙂