Hi,
My goal is to change a tag value by clicking on a component in perspective. As a total beginner especially with scripting is there some sort of script I could use to assign with the onClick event and for instance click on a component that already has a tag assigned and set its value to 64 for instance?
Current script:
{ var tag = “{[default]Carrier States/Carrier_001}”
var carrier = VAL(tag);
if(carrier=="9")
{
SET(tag ,0);
}
else
{
SET(tag ,9);
}
P.S any suggestions for a beginner with scripting and syntax’s?
Many thanks
Alex