Could someone explain this simple thing?
4 posts • Page 1 of 1
Could someone explain this simple thing?
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.
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.
- Attachments
-
- Capture.PNG
- Screen shot for those who did not get it what i was asking.
- (59.5 KiB) Not downloaded yet
- vaidas369
- Posts: 24
- Joined: Thu Jan 30, 2014 8:51 pm
Re: Could someone explain this simple thing?
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?
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?
-
T'wind_ - Posts: 86
- Joined: Wed Jul 08, 2015 5:33 pm
- Location: Western Europe
Re: Could someone explain this simple thing?
Oh, I misunderstood your question.
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.
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.
-
T'wind_ - Posts: 86
- Joined: Wed Jul 08, 2015 5:33 pm
- Location: Western Europe
4 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 4 guests