Hello! I'd like to transform this simple self switch:
$gameSelfSwitches.setValue([138, 38, 'A'], true)
into a game event id + 1 field --> $gameSelfSwitches.setValue([138, EVENTid+1, 'A'], true)
Look like this won't work:
$gameSelfSwitches.setValue([138, this.eventId()+1, 'A'], true)
How can I script it?
EDIT: I'm dumb. I was missing the ().
You can remove the thread. Sorry.
$gameSelfSwitches.setValue([138, 38, 'A'], true)
into a game event id + 1 field --> $gameSelfSwitches.setValue([138, EVENTid+1, 'A'], true)
Look like this won't work:
$gameSelfSwitches.setValue([138, this.eventId()+1, 'A'], true)
How can I script it?
EDIT: I'm dumb. I was missing the ().
You can remove the thread. Sorry.