Despite reading a lot of Ren'Py stuff I'm afraid I'm still struggling with this.
So here's the thing - I define a character in the usual way - let's say they are defined as "X".
That all works fine.
Then I want to tag character X for some special purpose (Let's call the special purpose "A").
So I define A as a variable, and then the relevant code goes - $ A = X
Now if I write a Ren'Py "say" statement like "Mr [A] went into town." It works fine and I get text saying "Mr <The name of the character X> went into town."
But here's what I don't get - if I try a conditional statement like: if A == X :
Then it comes up false. Even though Ren'Py has obviously recognized A as being equal to X.
WTF ............ anybody ?
So here's the thing - I define a character in the usual way - let's say they are defined as "X".
That all works fine.
Then I want to tag character X for some special purpose (Let's call the special purpose "A").
So I define A as a variable, and then the relevant code goes - $ A = X
Now if I write a Ren'Py "say" statement like "Mr [A] went into town." It works fine and I get text saying "Mr <The name of the character X> went into town."
But here's what I don't get - if I try a conditional statement like: if A == X :
Then it comes up false. Even though Ren'Py has obviously recognized A as being equal to X.
WTF ............ anybody ?