Page 1 of 1

Could someone explain this simple thing?

PostPosted: Mon Nov 09, 2015 9:52 pm
by vaidas369
How to add _1 and _2 or any other to make them be on object script box?
And what you can do with it and how to use it?

AS SIMPLE AS POSSIBLE Thank you

There is a screen shot for those who did not get it what i was asking.

Re: Could someone explain this simple thing?

PostPosted: Mon Nov 09, 2015 10:52 pm
by T'wind_
You can add booleans by typing two & signs between them. _1&&_2
If you want to store the result in a variable, you type: _result = _1&&_2
If you want that the _result variable changes when the value of _1 or _2 changes, you type: _result = {_1&&_2}

Is this what you wanted to know?

Re: Could someone explain this simple thing?

PostPosted: Mon Nov 09, 2015 11:05 pm
by T'wind_
Oh, I misunderstood your question. :crazy:
You can add thing to the script box by typing the thing you want to add in the black square at the top.
Type _aaa = 15 in the black square and a variable will appear named _aaa with value 15.
You can use that variable in another script, like when you spawn a circle you can write density := 10; but you could also write density = _aaa; in that case the density will be the value stored in the variable _aaa.

Re: Could someone explain this simple thing?

PostPosted: Tue Nov 10, 2015 12:30 am
by vaidas369
Thanks!