Remove "Recruit" option from Menu

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
Dret
Posts: 79
Joined: June 13th, 2007, 11:06 pm
Contact:

Remove "Recruit" option from Menu

Post by Dret »

Hi to all...

There's a way to remove the "recruit" option from the right-button menu?

I'm using a different way to place units during the game and I need to avoid confusion.

I try with canrecruit=no (inside [SIDE] Tag) but in this way the games il lost in the first round...!! ;)

Thanks...
Bye!

UPDATE
At last I found a "dirty" solution setting the key recruit=none (inside [SIDE] Tag). The effect in not elegant: if you click on "Recruit" nothing happens...

I'm still searching for a "removing" option solution...

Have some ideas...??
Last edited by Dret on May 7th, 2008, 11:32 am, edited 1 time in total.
User avatar
zookeeper
WML Wizard
Posts: 9742
Joined: September 11th, 2004, 10:40 pm
Location: Finland

Re: Remove "Recruit" option from Menu

Post by zookeeper »

Make a custom theme and remove the recruit option from the context menu in it.
Dret
Posts: 79
Joined: June 13th, 2007, 11:06 pm
Contact:

Re: Remove "Recruit" option from Menu

Post by Dret »

A question more...

In this way the new theme must be choosen from Players or it work automaticly selecting the scenario?

Thanks!
Bye
Dret
Posts: 79
Joined: June 13th, 2007, 11:06 pm
Contact:

Re: Remove "Recruit" option from Menu

Post by Dret »

... It works perfectly... thanks a lot!! :D
Post Reply