Page 1 of 1

variable problem

PostPosted: Sat Feb 01, 2014 12:01 pm
by knucklecrunchgames
hello everyone.

I'm having a problem with variables

in my game, you click on the press button, it should

load a varabile that holds an event that changes the

tranparent of an actor, there is a button in the corner

that saves the variables as well. When I press on the

button in the corner, it saves the varabile fine, but

when I click on the press button, the transparent of an

actor doesn't change :( what am I doing wrong.

the files are at the bottom

thanks
DLC Problem.zip
(1.05 MiB) Downloaded 174 times

Knuckle Crunch Games

Re: variable problem

PostPosted: Sat Feb 01, 2014 1:38 pm
by Goettsch
here is your get changed,i think this is what you wanted,i changed the if statement
and there is no need to save the variable since you declare it in the mouse down event of the corner actor

Re: variable problem

PostPosted: Sat Feb 01, 2014 6:06 pm
by knucklecrunchgames
Goettsch wrote:here is your get changed,i think this is what you wanted,i changed the if statement
and there is no need to save the variable since you declare it in the mouse down event of the corner actor


Goettsch sorry I didn't explain it properly

you see I'm making dlc with varabiles and I'm saving it because I want to load it in another exe

but it doesn't work. :( any ideas?