Wolfy
e769b7882c
Merge branch 'lua-sector-lines' into 'next'
...
Lua sector lines
Adds support for "sector.lines" in Lua, an array containing all the linedefs in a particular sector variable:
#sector.lines returns the number of lines in the sector.
sector.lines\[ _i_ \] (e.g. sector.lines[0], sector.lines[1], sector.lines[2], etc ....) gives you individual linedefs in the sector. If the number you supply is equal to or greater than #sector.lines, this returns nil.
Test script for your benefit: (see comments)
Type "luatest" in console in any level and you'll get a few print messages that tests these features for sectors[0]
See merge request !32
2016-03-04 10:23:42 -05:00
..
2014-04-18 11:16:18 -04:00
2015-06-10 07:41:44 -04:00
2014-04-18 11:16:18 -04:00
2014-03-15 13:11:35 -04:00
2016-02-26 02:06:57 -05:00
2014-03-15 13:11:35 -04:00
2014-04-18 11:16:18 -04:00
2016-02-26 02:11:29 -05:00
2015-03-01 20:07:56 -05:00
2016-02-25 18:33:29 -05:00
2015-03-01 20:07:56 -05:00
2014-03-15 13:11:35 -04:00
2014-03-23 12:00:29 -04:00
2014-03-15 13:11:35 -04:00
2014-03-15 13:11:35 -04:00
2014-03-15 13:11:35 -04:00
2016-02-05 22:38:40 -05:00
2014-03-15 13:11:35 -04:00
2014-03-15 13:11:35 -04:00
2016-02-09 14:13:50 -05:00
2015-01-01 14:50:31 -05:00
2014-04-14 01:14:58 -04:00
2016-01-14 07:46:28 -08:00
2016-01-14 07:46:28 -08:00
2016-01-28 08:15:34 -08:00
2014-03-15 13:11:35 -04:00
2015-01-01 14:50:31 -05:00
2014-08-26 23:56:30 -04:00
2014-03-15 13:11:35 -04:00
2015-06-10 13:42:45 -04:00
2014-03-15 13:11:35 -04:00
2014-08-03 23:49:33 -04:00
2014-03-15 13:11:35 -04:00
2016-02-09 02:48:35 -08:00
2015-01-01 14:50:31 -05:00
2014-04-14 01:14:58 -04:00
2014-03-15 13:11:35 -04:00
2014-11-11 19:55:07 -05:00
2014-03-15 13:11:35 -04:00
2014-03-23 12:00:29 -04:00
2016-03-03 22:33:36 -05:00
2014-04-14 01:14:58 -04:00
2014-03-21 19:21:06 +00:00
2016-03-03 02:54:07 -08:00
2016-02-09 02:48:33 -08:00
2016-01-31 15:08:16 +00:00
2014-04-25 02:40:19 +04:00
2016-03-03 22:31:21 -05:00
2016-02-09 02:43:24 -08:00
2016-02-09 02:43:24 -08:00
2014-03-15 13:11:35 -04:00
2014-03-15 13:11:35 -04:00
2014-03-15 13:11:35 -04:00
2016-03-04 10:19:18 -05:00
2014-11-11 19:55:07 -05:00
2016-02-03 18:09:08 -08:00
2015-01-01 14:50:31 -05:00
2014-03-15 13:11:35 -04:00
2014-11-11 19:55:07 -05:00
2014-03-15 13:11:35 -04:00
2014-03-15 13:11:35 -04:00
2014-03-15 13:11:35 -04:00
2014-03-15 13:11:35 -04:00
2014-03-18 13:56:54 -04:00
2014-03-15 13:11:35 -04:00
2014-03-15 13:11:35 -04:00
2015-02-05 15:36:07 -06:00
2014-03-15 13:11:35 -04:00
2014-03-15 13:11:35 -04:00
2016-02-26 02:06:57 -05:00
2016-02-09 02:39:16 -08:00
2014-03-15 13:11:35 -04:00
2016-03-03 02:54:07 -08:00
2014-04-19 13:41:29 -04:00
2016-02-25 22:28:19 -06:00
2016-03-04 10:19:18 -05:00
2014-03-15 13:11:35 -04:00
2016-01-31 22:52:02 +00:00
2015-06-10 13:42:45 -04:00
2015-06-17 21:00:10 +01:00
2016-03-04 10:23:42 -05:00
2016-01-18 19:46:00 +00:00
2016-02-09 02:39:16 -08:00
2015-05-20 23:54:04 -04:00
2016-03-03 17:30:10 -05:00
2016-03-03 17:30:10 -05:00
2015-05-20 23:54:04 -04:00
2014-03-15 13:11:35 -04:00
2014-03-15 13:11:35 -04:00
2014-03-15 13:11:35 -04:00
2014-04-19 13:41:29 -04:00
2014-03-15 13:11:35 -04:00
2014-03-15 13:11:35 -04:00
2014-03-15 13:11:35 -04:00
2014-03-15 13:11:35 -04:00
2014-03-15 13:11:35 -04:00
2016-01-20 01:24:30 -08:00
2014-08-03 23:49:33 -04:00
2014-08-26 23:56:30 -04:00
2014-03-15 13:11:35 -04:00
2014-03-15 13:11:35 -04:00
2015-08-21 21:27:20 -04:00
2015-08-21 21:27:20 -04:00
2016-02-26 02:11:29 -05:00
2014-08-26 23:56:30 -04:00
2016-02-09 14:13:50 -05:00
2014-03-18 13:56:54 -04:00
2014-03-15 13:11:35 -04:00
2014-03-15 13:11:35 -04:00
2014-11-11 19:55:07 -05:00
2014-03-17 08:13:16 -04:00
2014-04-25 02:40:19 +04:00
2016-01-28 12:08:08 -05:00
2016-01-28 12:06:00 -05:00
2014-04-25 02:40:19 +04:00
2014-03-15 13:11:35 -04:00
2014-03-15 13:11:35 -04:00
2014-03-15 13:11:35 -04:00
2014-03-15 13:11:35 -04:00
2014-03-15 13:11:35 -04:00
2016-02-26 02:11:29 -05:00
2015-01-01 14:50:31 -05:00
2015-05-24 12:53:30 -05:00
2016-02-26 02:11:29 -05:00
2014-03-15 13:11:35 -04:00
2016-02-09 02:39:16 -08:00
2016-02-13 17:31:38 -06:00
2016-01-03 10:30:36 -06:00
2015-04-29 00:33:04 -05:00
2016-02-25 22:28:19 -06:00
2016-02-09 02:39:16 -08:00
2016-01-31 13:05:30 -06:00
2015-04-06 11:22:27 -05:00
2016-02-09 02:39:16 -08:00
2016-03-03 22:31:21 -05:00
2014-03-15 13:11:35 -04:00
2016-03-03 22:31:21 -05:00
2014-08-26 23:56:30 -04:00
2014-03-15 13:11:35 -04:00
2016-01-03 10:33:45 -06:00
2016-01-03 10:33:45 -06:00
2016-03-03 22:31:21 -05:00
2015-04-26 22:20:03 -05:00
2014-03-15 13:11:35 -04:00
2016-02-09 02:39:16 -08:00
2014-03-15 13:11:35 -04:00
2016-03-03 22:31:21 -05:00
2016-02-03 18:09:08 -08:00
2016-01-31 16:49:04 +00:00
2015-01-01 14:50:31 -05:00
2014-03-15 13:11:35 -04:00
2015-08-03 22:15:59 -05:00
2016-01-03 10:30:36 -06:00
2014-03-15 13:11:35 -04:00
2015-05-23 01:19:38 -05:00
2016-01-03 10:30:36 -06:00
2014-03-15 13:11:35 -04:00
2016-01-14 16:32:02 +00:00
2015-01-01 14:50:31 -05:00
2016-01-14 16:40:55 +00:00
2015-05-16 22:32:12 -05:00
2016-02-03 18:09:08 -08:00
2014-03-15 13:11:35 -04:00
2014-03-15 13:11:35 -04:00
2014-03-15 13:11:35 -04:00
2016-01-14 16:40:55 +00:00
2014-03-15 13:11:35 -04:00
2014-11-11 19:55:07 -05:00
2016-02-29 01:16:17 -08:00
2016-01-13 22:50:14 -08:00
2016-03-03 02:54:07 -08:00
2016-03-03 02:54:07 -08:00
2014-03-24 20:06:13 +00:00
2014-03-15 13:11:35 -04:00
2016-02-09 02:48:33 -08:00
2016-02-09 02:48:33 -08:00
2016-01-14 16:41:33 +00:00
2014-03-24 22:17:59 -04:00
2014-03-15 13:11:35 -04:00
2016-01-14 16:41:10 +00:00
2015-08-21 21:27:20 -04:00
2014-03-15 13:11:35 -04:00
2014-03-15 13:11:35 -04:00
2014-03-15 13:11:35 -04:00
2014-03-15 13:11:35 -04:00
2014-03-15 13:11:35 -04:00
2016-01-14 16:40:55 +00:00
2014-08-03 23:49:33 -04:00
2014-03-15 13:11:35 -04:00
2016-03-03 18:31:17 +00:00
2016-01-12 15:42:36 +00:00
2016-02-09 02:48:33 -08:00
2015-01-01 14:50:31 -05:00
2014-08-05 19:59:40 -04:00
2014-08-05 19:59:40 -04:00