Jump to content

Running script at particular times?


Thalassicus

Recommended Posts

Begin Gamemode blocks are really weird and not what I expected. They are not like what I learned when I first started programming. I wish it was set up differently, so that it was easy to have more DoOnce lines automatically, but that is not how Oblivion Scripting language is set up.

 

The good news is that today's computers are so amazing powerful that it is absolutely unbelievable. You can use all sorts of sloppy Begin Gamemode blocks making the computer waste lots and lots of effort checking everything under the sun over and over, and the gamer will never even notice the performance drop.

 

Inefficient scripts do not seem to effect performance. The big culprits are grass, more than eight NPCs per cell, and light sources with intersecting light radius problems.

 

Don't worry be happy! :)

Link to comment
Share on other sites

You're definitely right about those three sources of lag; they're the same ones I noticed. And yeah, scripts don't seem to cause a big problem... but coming from an assembly/c/c++ background where efficiency is so heavily emphasized, I cringe at checking if it's daylight 3600 times per minute. :D

 

Oh, for the want of a sleep() system call!

Link to comment
Share on other sites

  • Recently Browsing   0 members

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