2DWorlds Forums
You can see every thing in the game by running this code: - Printable Version

+- 2DWorlds Forums (http://2dworlds.buildism.net/forum)
+-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4)
+--- Forum: Scripting (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=13)
+--- Thread: You can see every thing in the game by running this code: (/showthread.php?tid=6210)



You can see every thing in the game by running this code: - blocco - 06-25-2011

First, make sure you have the Lua console open at the bottom. Then, run the code below in it. Courtesy of blocco. ^_^

[lua]n=0; repeat sleep(0.1) print(game:get(n), " - ", game:get(n).Parent) n=n+1; until game:get(n+1) == nil;[/lua]


RE: You can see every thing in the game by running this code: - Azure_Eyes - 06-25-2011

(06-25-2011, 04:44 PM)blocco Wrote: First, make sure you have the Lua console open at the bottom. Then, run the code below in it. Courtesy of blocco. ^_^

[lua]n=0; repeat sleep(0.1) print(game:get(n), " - ", game:get(n).Parent) n=n+1; until game:get(n+1) == nil;[/lua]


So there ARE hidden objects...