Page 1 of 1

[Not a bug] Wrong color displayed using WALLITEM_SPEECH

Posted: Tue Jun 06, 2006 3:07 pm
by KlausM
Hi!

I don't know if this is really a bug:

I activate a WALLITEM_ACTION with action ACTION_MENU_WEAPON_OPEN.
This opened menu contains an attack method that activates a WALLITEM_SPEECH.

If now before the ACTION_MENU_WEAPON_OPEN the 1st Character is the leader,
and then I open (per trigger) this attack method and then change the leader, and then start the WALLITEM_SPEECH,
the outputted Text ( as Party) has the color of the 1st Character instead of the leader. ( i had changed it above)

The problem is if I start that speech with text "%MEMBER_LEADER%: HELLO!" The wrong color is displayed to the correct name.

Posted: Tue Jun 06, 2006 3:41 pm
by beowuuf
Actions are in a chain, and the person activating it will be associated in that chain

Really, you jsut need a fast set of actions!

Posted: Tue Jun 06, 2006 3:57 pm
by George Gilbert
If I've understood correctly, then I don't think this is a bug.

What is happening is that the menu is created for Character 1 (so the menu is associated with character 1). The menu then activates the speech and so the speech is being activated by character 1. The change of leader mid-way through is completely irrelevant.

If you prefer to look at it the other way around, consider the case when the change was taken into account. Then you could have a weapon wielded by the leader, you click on it to open the menu and have the options "swing", "chop" etc. You then change the leader and then click on one of the attack methods in the menu and the *new* leader would get the experience rather than the person who had the weapon!

That's clearly wrong (and logically, no different from the first case).