[solved] [unit_type] hide_help=

The place to post your WML questions and answers.

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.
Post Reply
white_haired_uncle
Posts: 1282
Joined: August 26th, 2018, 11:46 pm
Location: A country place, far outside the Wire

[solved] [unit_type] hide_help=

Post by white_haired_uncle »

This is my unit. If you go to the right panel and click on the unit type, it says "Unknown unit .. you must discover...". If instead you hit 'd', it shows you all the usual unit data. Is this they way it's supposed to work?

Code: Select all

[unit_type]
    id=hidden
    name="hidden"
    hide_help=yes
    do_not_list=yes
    [base_unit]
        id=Ghost
    [/base_unit]
[/unit_type]
hide_help: (yes|no) default=no. Determines if the unit type will appear in the in-game help.
Last edited by white_haired_uncle on May 5th, 2024, 11:18 pm, edited 1 time in total.
Speak softly, and carry Doombringer.
User avatar
Ravana
Forum Moderator
Posts: 3064
Joined: January 29th, 2012, 12:49 am
Location: Estonia
Contact:

Re: [unit_type] hide_help=

Post by Ravana »

Both should do the same, so would make sense to raise it as issue.
white_haired_uncle
Posts: 1282
Joined: August 26th, 2018, 11:46 pm
Location: A country place, far outside the Wire

Re: [unit_type] hide_help=

Post by white_haired_uncle »

Thanks, just wanted to check first.
Speak softly, and carry Doombringer.
Post Reply