Jump to content

How to write message to text window when certain character level is reached?


Recommended Posts

You'll have to add the string to the game and set a variable to its .tlk ref via "RESOLVE_STR_REF (~_____~)"  Thren make a spell with opcode 139 "Display String" and the string parameter set to your string ref.  Add "AP_[spell filename]" at the appropriate level to the appropriate kit ability table(s).

Link to comment

One thing to note: abilities in the CLAB are removed when a character leaves the party and reapplied when they rejoin. So if this is being done for a character that's not the protagonist, that message will display again every time the character rejoins the party after leaving it (once they reach the appropriate level).

[Edit - just noticed the IWD tag. OK, not really an issue in that game since you create full parties, unless the character gets petrified or something.]

Edited by jmerry
Link to comment
On 10/12/2022 at 11:32 PM, jmerry said:

[Edit - just noticed the IWD tag. OK, not really an issue in that game since you create full parties, unless the character gets petrified or something.]

There are NPC mods for IWD that intend to make it work a bit like the BG series, with aone or more charname and members that join or quit, banters and dialogues.

Not sure if the way they work is different 🤷‍♂️ and if that changes anything onwhat is said above.

For example

https://github.com/Pocket-Plane-Group/IWD_NPC

https://downloads.weaselmods.net/tag/npc-iwd/ (a whole bunch by Lava)

https://github.com/ArtemiusI/KarihiNPC

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...