help needed!! transfering actor variables :(
Posted: Fri Apr 15, 2011 10:50 am
hi folks!
can anyone help me with this one? basically i´m trying to pass a colour variable between three actors so to say.
i cant think of a better way to do this. in this "game" currently it should detect colours and destroy connected
diamonds (of the same colour). however in my routine it only works with the blue diamonds
(guess because it starts with "0" which is colour blue, so the variable isnt passed correctly and thus always zero).
can anyone have a look? i dont know why my variable passing
doesnt work
thanks so much in advance!!
can anyone help me with this one? basically i´m trying to pass a colour variable between three actors so to say.
i cant think of a better way to do this. in this "game" currently it should detect colours and destroy connected
diamonds (of the same colour). however in my routine it only works with the blue diamonds
(guess because it starts with "0" which is colour blue, so the variable isnt passed correctly and thus always zero).
can anyone have a look? i dont know why my variable passing
- Code: Select all
actorxyz->ia_mycol = ia_mycol;
doesnt work
thanks so much in advance!!