Page 1 of 1

I want to add objects new variable to manage their names

PostPosted: Sat Oct 08, 2016 1:08 pm
by AN9K
I'm an Amazing Marble Race creator. I have to manage lots of different color marbles to get which marble is eliminated, but I can't remember their color names completely.
So I need to make a new variable for marbles. But how can I make that?

By the way, when I make the variable, I will make a block with the following, to manage in what order marbles finished the leg:
Code: Select all
OnCollide=(e)=>{
text=text+ " " +<new variable>;
}

Re: I want to add objects new variable to manage their names

PostPosted: Sat Oct 08, 2016 4:16 pm
by Kilinich
You may add variable beginning with _ inside marble geom. Vaiables with leading _ will be saved with scene.
Enter in script menu edit box: _color = "Red"