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

[SKY]Event or function to run when variable is changed?


bleakraven
 Share

Recommended Posts

Hi TESA!

 

Is there any event or function that allows a function to run when a global variable is changed?

 

What I'm doing is that you get values added or deducted on a globalVariable and I would like a script function to fire when it reaches a certain number...

 

Cheers!

 

PS: Maybe I should have put this in script requests?

Link to comment
Share on other sites

No. The computers that can run Skyrim must be powerful, and your little script running every few seconds need not do anything if the variable has not changed.

 

Load the global, see if it change, if not, end.

That will not slow any computer down, especially if only run every second or two.

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