Jump to content

How can I show strings over an area or NPC on BGEE screen?


Wizer13

Recommended Posts

Hi everyone,

Been testing some line of codes for my mod, but it doesn't seem to work.

Let's say the action in the script is by interacting with an NPC, I want to make a string appear over its head, like it does for some scripts (exemple: *gulps a potion*). They also have this feature in Planescape Torment, BG2EE and Siege of Dragonspear when you click on an area, a string will appear and describe what you see for a few seconds.
It is because this code don't work in BGEE?

Here's what i tried:

IF
InteractingWith(*Object*)
THEN
RESPONSE #100
DisplayStringHead(*Object*,*Line referenced in my .tra)
END

I've also tried

NumTimesInteractedGT(*Object*,0)

But it says that my NPC isn't referenced in NPC.ids, so it wont work either.

I just don't wanna have to create a bunch of .cre with .dlg just for a few lines to settle the mood in Planescape.

Any pointers would be appreciated. Thx for your time!

Link to comment

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...