nurgl Posted March 23, 2018 Posted March 23, 2018 Hi, I just replaced in my mod a script which contained checks whether a scene is running (30 of those checks in one script) with a magic effect that is triggered if one of the scenes is running (like 30 ORs). Is that a good decision performance wise?
Rasikko Posted April 1, 2018 Posted April 1, 2018 Conditions are a lot more efficient when it is small-medium things. When you have a ton of conditions though, it's no better than scripting, as it takes more time for the game to go though all the conditions. 30 conditions might be a bit too much. In general, if you can get away with conditions, prefer it over scripting.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now