🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

How many times is a script executed?

Started by
1 comment, last by ddn3 20 years, 8 months ago
When you write a script for a game, how many times does it get executed? Im trying to intergrate a scripting engine into my applciation, but am uncertain how to expose the script to the rest of my code and how many times it gets executed. -ddn
Advertisement
You decide when and how often. It depends on what you are using the scripts for. Some things may be executed only once, some may run every time through the main loop. If you say what things you are using scripting for someone might be able to answer better.

Upon thinking about it, I see the function will be the overriding factor in determing the number of updates a script does per tick.

I want to use the script engine in the AI as well as misc useage within the animiation and startup modules.

Thanks again!

-ddn

This topic is closed to new replies.

Advertisement