is_unit_test
Moderator: Forum Moderators
Forum rules
- Please use [code] BBCode tags in your posts for embedding WML snippets.
- To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
- Pentarctagon
- Project Manager
- Posts: 5565
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
is_unit_test
What does this attribute do? I see it used in some scenarios in data/test/scenarios, but it isn't on the wiki.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
Re: is_unit_test
When talking about missing documentation, then someone who knows about viewtopic.php?f=5&t=43912&p=596366#p596366 could change https://wiki.wesnoth.org/InterfaceActionsWML#.5Bitem.5D.
Re: is_unit_test
It removes that scenario from the test scenario list (don't know hwo to access that list)Pentarctagon wrote:What does this attribute do? I see it used in some scenarios in data/test/scenarios, but it isn't on the wiki.
as the one who wrote that feature i might remember how it works. but i think that linked comment says everything i know about it. The reason why i didn't document it back ten was that i was still unsire whetehr i shoudl name that attribute id' indeas.Ravana wrote:When talking about missing documentation, then someone who knows about viewtopic.php?f=5&t=43912&p=596366#p596366 could change https://wiki.wesnoth.org/InterfaceActionsWML#.5Bitem.5D.
Scenario with Robots SP scenario (1.11/1.12), allows you to build your units with components, PYR No preperation turn 1.12 mp-mod that allows you to select your units immideately after the game begins.
- Pentarctagon
- Project Manager
- Posts: 5565
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: is_unit_test
I have added that info here.gfgtdf wrote:It removes that scenario from the test scenario list (don't know hwo to access that list)Pentarctagon wrote:What does this attribute do? I see it used in some scenarios in data/test/scenarios, but it isn't on the wiki.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
- Celtic_Minstrel
- Developer
- Posts: 2226
- Joined: August 3rd, 2012, 11:26 pm
- Location: Canada
- Contact:
Re: is_unit_test
The list is accessed via a hotkey at the main menu. The hotkey is unassigned by default, but can be assigned to whatever you want from the preferences.gfgtdf wrote:It removes that scenario from the test scenario list (don't know hwo to access that list)
By the way, I also updated the wiki page to add the dev-tag since it's a pretty new feature.
- Pentarctagon
- Project Manager
- Posts: 5565
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: is_unit_test
Great, thanks
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code