#3817: enumFeature(-1) not listing features
-------------------------------------------------+-------------------------
Reporter: aubergine | Owner: per
Type: bug | Status: new
Priority: normal | Milestone:
Component: JavaScript Issues | unspecified
Keywords: enumfeature, features, api, empty, | Version: 3.1
script | and master
| Operating System: All
| /Non-Specific
-------------------------------------------------+-------------------------
JS API enumFeature(-1) should list all features on the map irrespective of
player visibility of the features, but seems not to.
See attached AI that illustrates the issue (try it on sk-Startup which
definitely has features on that map). The script will throw an error if
enumFeature(-1) doesn't return any features.
--
Ticket URL: <http://developer.wz2100.net/ticket/3817>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
BUILD Helping you discover the best ways to construct your parallel projects.
http://goparallel.sourceforge.net
_______________________________________________
Warzone2100-project mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-project