How can I change the "Ambushed!" text in something else?

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
mich
Translator
Posts: 134
Joined: November 11th, 2008, 8:54 am
Location: Italy

How can I change the "Ambushed!" text in something else?

Post by mich »

I'm trying to make an ability similar to the ambush one, but that works everywhere and with a different alert message. Well, the ability works, but I am not able to change the alert message.
Here is the code used

Code: Select all

#define ABILITY_FOAP_INVISIBLE
    [hides]
        id=foap_invisible
        name= _ "invisible"
        name_inactive= _ "invisible"
        description= _ "......."
        affect_self=yes
	alert= _ "test message"
    [/hides]
#enddef
Am I doing something wrong or there are problems with the alert key?
Thanks.
User avatar
zookeeper
WML Wizard
Posts: 9742
Joined: September 11th, 2004, 10:40 pm
Location: Finland

Re: How can I change the "Ambushed!" text in something else?

Post by zookeeper »

Sounds like a job for a bug report; alert= should work.
mich
Translator
Posts: 134
Joined: November 11th, 2008, 8:54 am
Location: Italy

Re: How can I change the "Ambushed!" text in something else?

Post by mich »

Thanks, and reported.
Post Reply