I'm trying to make overhead texts for my 2 characters but it's not working.
I have on INIT: DB_PlayerComments("ACT1_Arrival","ACT1_Arrival_1",2,1);
TriggerRegisterForCharacter(TRIGGER_Box_Beginning,CHARACTER_Player1);
TriggerRegisterForCharacter(TRIGGER_Box_Beginning,CHARACTER_Player2);
ACT1_Arrival_1 beign the key in my TranslatedStringKey record.
Then I used:
KB
IF
CharacterLeftTrigger(CHARACTER_Player1,TRIGGER_Box_Beginning)
THEN
Launch_Player_Comment(CHARACTER_Player1,CHARACTER_Player2,"ACT1_Arrival");
The trigger works for moving my characters but it does not make them speak the lines after leaving.
I'm following UsefulOsirisSystems.doc instructions to the letter but it just doesn't work.
You need to use CharacterDisplayText(CHARACTER, "textname");
"textname" refers to your TranslatedStringKey (editor is on the toolbar). After modifying or adding to the TranslatedStringKey, usually you'll need to restart the editor for it to work.
No database is really required for overhead comments.