Statistics: Posted by AlphaWolfGamer — 01 Jun 2017, 18:21
Statistics: Posted by CookieNoob — 01 Jun 2017, 18:10
CookieNoob wrote:
- Code:
arbitary options have been selected
means that the creator of the map tried to set the key of the option as default value of the option. This doesnt work since the default value is the number of the option that it is supposed to be.
Example:
- Code:
(option number*), (name**), (key value***)
1) Option 1: key 20
2) Option 2: key 40
3) Option 3: key 60
a lot of survival maps have a default value using the key instead of the option number:
- Code:
default = 40
The game will then try to use Option 40 as default option (which doesnt exist) and thus triggering this error.
* position of the option in the option list
** name of the option, i.e. startup time
*** value for the option that is handed over to the game, i.e. 20 seconds startup time
The lobby shows this warning and then uses the first option as the fallback solution. However, the actual key value of the option (the code often relies of this value being set somewhere) is ONLY given to the map script when the option is changed. In case it is not changed to a non-default value, the variable is not set inside the script, which can and will cause all sorts of problems.
Statistics: Posted by AlphaWolfGamer — 01 Jun 2017, 18:05
arbitary options have been selected
(option number*), (name**), (key value***)
1) Option 1: key 20
2) Option 2: key 40
3) Option 3: key 60
default = 40
Statistics: Posted by CookieNoob — 01 Jun 2017, 09:15
Statistics: Posted by PhilipJFry — 01 Jun 2017, 08:30
Statistics: Posted by AlphaWolfGamer — 01 Jun 2017, 04:37