Jump to content

Recommended Posts

Posted

So basicaly for my companion mod I'm adding two possible perks that the player can get that are unlocked through conversation. To hive the player the perks the result script for one of the topics is like this:

 

set DHCQuest.bDHCRival to 1

Player.AddPerk DHCRival

 

but when I try to add:

 

ShowMessage DHCPerkRival

 

I get an error when I go on compile result and it dosent work ingame. The perks themselves work fine but without a message it's not clear to the player that one has been added. Does anyone have any ideas as to why this wont work because I can't figure it out.

Posted

Okay, I'll ask the obvious questions.

 

1. Do you have a message created called DHCPerkRival?

 

2. If yes to question 1, is the form ID of the message really DHCPerkRival and not maybe mistyped?

Posted

Okay, well there's not much that can go wrong with ShowMessage. The next thing would be to make sure the message itself works properly in-game. Try to make it appear using the console.

 

Example:

If I wanted to display the message BigSalDead, I check the formID and see it's 00166B96. So in the console I type

 

ShowMessage 00166B96

 

and see the message pop up.

 

If your message is working then I'm not sure why it's not saving.

Posted
Okay so i tried using the console and it wouldnt work then either. I then tried deleting those messages and creating them again but they still didn't work and i still have no idea why...
Posted (edited)

For the new one I made it's like this

 

ID: DHCMessagePerkRivals

Icon: None

Title: (Nothing)

Message Box: Ticked

Message Text: Your rivalry with Desmond means that as long as you health remains above 75% Desmond's combat skills will be improved.

Menu Buttons: (Nothing)

Item Conditions: (Nothing)

 

the other is the same but with a different ID and Message text.

Edited by Saxxon91
Posted

You should have mentioned the error message you received when you tried it in the console in-game, it would have saved some posts. When I saw it after I tried to test your message I understood right away. (I myself should have seen it just from looking at your message text.)

 

Message Text: Your rivalry with Desmond means that as long as you health remains above 75% Desmond's combat skills will be improved.

 

You need two percent signs.

 

Your rivalry with Desmond means that as long as you health remains above 75%% Desmond's combat skills will be improved.

 

Then it works.

 

GECK Wiki - ShowMessage

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...