Mzh3000
|
  |
| Joined: 22 Jan 2009 |
| Total Posts: 4967 |
|
|
| 10 Jan 2012 12:58 PM |
Location.Value = Location.Value - 1
How do I do it :/
I am using an int Value |
|
|
| Report Abuse |
|
|
su8
|
  |
| Joined: 06 Mar 2009 |
| Total Posts: 6334 |
|
| |
|
Mzh3000
|
  |
| Joined: 22 Jan 2009 |
| Total Posts: 4967 |
|
|
| 10 Jan 2012 01:01 PM |
How do I add or subtract to a value.
I have a mouseclick in there and when you click the mouse it checks the value for being above 0. Then moves a brick. But it also subtracts one once it moves that brick.
If the vlaue is 0 it will just print "lawl nope" so I need it to actualy be able to subtract a number.
How would I write it. |
|
|
| Report Abuse |
|
|
su8
|
  |
| Joined: 06 Mar 2009 |
| Total Posts: 6334 |
|
|
| 10 Jan 2012 01:07 PM |
| Just like one in your first post |
|
|
| Report Abuse |
|
|
Mzh3000
|
  |
| Joined: 22 Jan 2009 |
| Total Posts: 4967 |
|
|
| 10 Jan 2012 01:10 PM |
| oh... lol I had some error somewhere XD |
|
|
| Report Abuse |
|
|
Miro034
|
  |
| Joined: 07 Oct 2009 |
| Total Posts: 6568 |
|
|
| 10 Jan 2012 01:52 PM |
| That is excellent. That looks correct to me! |
|
|
| Report Abuse |
|
|