Jump to content

DOWNLOAD MODS

Are you looking for something shiny for your load order? We have many exclusive mods and resources you won't find anywhere else. Start your search now...

LEARN MODDING

Ready to try your hand at making your own mod creations? Visit the Enclave, the original ES/FO modding school, and learn the tricks of the trade from veteran modders...

JOIN THE ALLIANCE

Membership is free and registering unlocks image galleries, project hosting, live chat, unlimited downloads, & more...

[Solved]Using a Global inside a MessageBox


DsoS
 Share

Recommended Posts

All credit goes to Willie for this. I PM'd him this question and then after everything was finished I decided it would be better to share it with everyone.

My Question was:

Is there a way to check a Global and then in a message box, show that number along with other stuff? Example: You have found 3 of 10 Secret Rooms. ... The 10 would be a constant number and the 3 would need to change when the player finds a new secret room.

WillieSea's Reply was (with minor editing):

With the message box, you put in text like %.0f to display a passed value.

MyMessage1

"You have found %.0f secret room(s)."

You display it like so (This would be placed in a script!):

MyMessage1.Show(MyGlobal.GetValue())

Willie also linked me to the Show Creation Kit wiki page

Thank You very much WillieSea :pints:

Link to comment
Share on other sites

Chesko has a mod called Swiftpotion which has an excellent example of this, and he includes the sources to his scripts in his download.

My BYOG file also does too, mine are in a .bsa but if you unpack them the scripts are included, I use this feature heavily.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. 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.

 Share

×
×
  • Create New...