ID:170661
 
Ok, what is wrong with the following?
arrow_y_off = (nchoice = i) - 1


What I want to happen is nchoice to be set to i, then arrow_y_off to be set to one less.

I suppose could always do:
nchoice = i
arrow_y_off = nchoice - 1

(which does work) ...but I'd like to know why the first one doesn't work.
The error is "missing expression"
DM unfortunately doesn't work like C in that you can't chain the = operator for multiple assignments. You'll have to do them separately.

Lummox JR