SOLVED: game.speech_text_align: refuses to take MIDDLE or CENTER

Started by Slasher, Tue 11/06/2013 16:39:02

Previous topic - Next topic

Slasher

Hi

for practical reasons, at a certain point, I set:

Code: AGS
game.speech_text_align =LEFT;


Now I'm trying to set it back to center. It refuses to take MIDDLE or CENTER.

Cheers


Ryan Timothy B

Are you using the built-in Enums eg:
eAlignLeft,
eAlignCentre,
eAlignRight

Code: ags
game.speech_text_align = eAlignCentre;


Or are you using a int variable named MIDDLE (with a value of 0, which I strongly believe would be: eAlignLeft).

Slasher

Thank you Ryan,

What a plonker I am, completely missed that one.

cheers 

slasher



SMF spam blocked by CleanTalk