Simple question : can someone tell me what is the script engine limit? Otherwise, the number of actions per millisecond the engine can execute? This could help me a lot to reduce the generating time of my map to its minimum...
You think that I can put like 16 action per seconds? I surely don't understand what you say, because I can already do like 256 actions per seconds, but I would like to know the exact number of actions/milliseconds...
That is 16 actions per second on a single thread, if you check the box "Create Thread" in an action definition, it will create a new one. I don't know how many threads the game can support, but probably a lot.
Edit: If you want to check it for yourself, create a global integer and have a periodic event running ever 0 sec and increase the integer by 1 every time. Even though you specified every 0 seconds, it will still only do it every game loop. Now if you output this every second you see a difference of 16.
Simple question : can someone tell me what is the script engine limit? Otherwise, the number of actions per millisecond the engine can execute? This could help me a lot to reduce the generating time of my map to its minimum...
I believe the game loops every 1/16th(0.0625) of a second.
You think that I can put like 16 action per seconds? I surely don't understand what you say, because I can already do like 256 actions per seconds, but I would like to know the exact number of actions/milliseconds...
That is 16 actions per second on a single thread, if you check the box "Create Thread" in an action definition, it will create a new one. I don't know how many threads the game can support, but probably a lot.
Edit: If you want to check it for yourself, create a global integer and have a periodic event running ever 0 sec and increase the integer by 1 every time. Even though you specified every 0 seconds, it will still only do it every game loop. Now if you output this every second you see a difference of 16.
thanks man!