Wizer13 Posted January 19, 2020 Posted January 19, 2020 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! Quote
jastey Posted January 19, 2020 Posted January 19, 2020 Have you tried Clicked([ANYONE]) maybe in combination with a Range(LastTrigger,x) or something like that. Quote
Wizer13 Posted January 19, 2020 Author Posted January 19, 2020 Clicked() isn't just described for areas? Ah, well, might worth a try. Thanks! Quote
jastey Posted January 19, 2020 Posted January 19, 2020 @Wizer13 rereading your post I think I did not get your question, so my answer might not be helpful. Clicked() is indeed if the player clicked on an area trigger field. Quote
Recommended Posts
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.