Aller au contenu

Photo

Text box over player character's head. Please help.


  • Veuillez vous connecter pour répondre
1 réponse à ce sujet

#1
demonthief 118

demonthief 118
  • Members
  • 41 messages
Hi there. I'm very new to the dragon age toolset and i was wondering if anyone could tell me how to get text to appear over my player character's head while he's on his own (meaning not speaking to an NPC).

Modifié par demonthief 118, 12 décembre 2010 - 07:13 .


#2
Proleric

Proleric
  • Members
  • 2 361 messages
The following will display the message "Hello World" on your main controlled character in red for 10 seconds.

[dascript]
DisplayFloatyMessage(GetMainControlled(), "Hello World", FLOATY_MESSAGE, 0xff0000, 10.0);
[/dascript]


The Help window for DisplayFloatyMessage explains what the parameters do.

The message appears across the body (not above the head). I don't think you can change that easily.

The reason for not displaying on the player character is that they may not be visible if a follower is currently controlled.

Alternatives are DisplayPortraitMessage which appears on the portrait and DisplayStatusMessage which appears in the middle of the screen.