Jump to content

Can't get a message to work


Saxxon91

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • Recently Browsing   0 members

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