|
| 16 Aug 2014 07:30 AM |
ya is it possible ?
like a = {1,2} a.changed |
|
|
| Report Abuse |
|
|
|
| 16 Aug 2014 07:34 AM |
Tables are a data type. Data types don't have any events.
~The herp lerped a derp~ |
|
|
| Report Abuse |
|
|
|
| 16 Aug 2014 07:41 AM |
| Mhm then is there little trick do it ? |
|
|
| Report Abuse |
|
|
Bobobob12
|
  |
| Joined: 23 Jan 2008 |
| Total Posts: 5350 |
|
|
| 16 Aug 2014 07:42 AM |
| describe what you're trying to use it for and then we can help you think of a "trick." |
|
|
| Report Abuse |
|
|
|
| 16 Aug 2014 07:45 AM |
| I am making maze when you click on first part code goes 2,0,0 when click second part code goes 2,1,0 when you click third part code goes 2,1,3 so i want to check it code is 2,1,3 then something happen. |
|
|
| Report Abuse |
|
|
|
| 16 Aug 2014 07:49 AM |
Then check it during the clicked event...
~The herp lerped a derp~ |
|
|
| Report Abuse |
|
|
|
| 16 Aug 2014 07:51 AM |
| yea i know but i wish it would be possible :p |
|
|
| Report Abuse |
|
|
Kodran
|
  |
| Joined: 15 Aug 2013 |
| Total Posts: 5330 |
|
|
| 16 Aug 2014 07:57 AM |
Maybe something like this?
table = {"", ""} oldtable = {"", ""}
coroutine.resume(coroutine.create(function() wait(5) table[1] = "a" end))
while wait() do for i, v in pairs (table) do if table[i] ~= oldtable[i] then --index i in the table has changed! end oldtable = table end end |
|
|
| Report Abuse |
|
|