- Joined
- Aug 18, 2009
- Messages
- 4,097
Since I am not so sure if this is known and I still do not know the purpose of all Preload natives:
I always thought files created by PreloadGenEnd spat some random number in their last PreloadEnd line because they were quite arbitrary. It's simply that PreloadGenStart marks the starting point of some async timer that runs across different games and even considers the gap of wc3 being closed.
Therefore you can use this to benchmark any action in a map: call PreloadGenStart, do your stuff, call PreloadGenEnd.
though I know of no possibility to retrieve the value from inside wc3.
I always thought files created by PreloadGenEnd spat some random number in their last PreloadEnd line because they were quite arbitrary. It's simply that PreloadGenStart marks the starting point of some async timer that runs across different games and even considers the gap of wc3 being closed.
Therefore you can use this to benchmark any action in a map: call PreloadGenStart, do your stuff, call PreloadGenEnd.
though I know of no possibility to retrieve the value from inside wc3.