I want to make a script for a conditional branch that does the following:
if every event that is named "0" is facing down, ....
I've done some research, but I've never used scripts before. The script I tried was:
"events":[{"name":"0","pages":[{"image":{"direction":8}}]}]
But, I am getting the error, "unexpected token" so I think it is something with the formatting, but I don't know ;(
How would I write this script?
Note: There are multiple events with the name "0" just to clarify
if every event that is named "0" is facing down, ....
I've done some research, but I've never used scripts before. The script I tried was:
"events":[{"name":"0","pages":[{"image":{"direction":8}}]}]
But, I am getting the error, "unexpected token" so I think it is something with the formatting, but I don't know ;(
How would I write this script?
Note: There are multiple events with the name "0" just to clarify