Help a scripting retard with his script.

should work for any script but was intended for map script call from map_exit_p_proc.
I did not tested it, if you have time please do. :D
 
I see you used "while" for pid number...
isn't there any "all" object or something cause there can easelly be more than 599 pids (i'm talking about my mod). Doesn't while take long time to calculate? It has to run 600 times over and over again every single time you enter a map (and that would be for all maps) maybe exporting pointer from remove script to say map script, and then do the clearing of pointed object (say after exit) i realy would not know how to do this. I'll take a look at dude_obj exemple for dude_obj see if i could figure it out. But if you know already, please let me know. (looks like we are close to the end of removing problem).
 
Well this "while" loop on my pc (1.6) goes pretty fast i did not notice any difference in map loading time.
But loop can take some time, i remeber testing that on my old pc(500Mhz) with simple loop 10000 and it take about 2 sec to go.
 
Well i'll try it, but i don't have map done, so that will take some time. Plus how do i know it's been done?
I can tell the difference in-game... Do you know at which PID count does this "too much items" bug shows up?

How long does it take to calculate it today? Half of second? :roll:
Did you try it?

Well, i really would not want to change game requirements, maybe just a little. but if i put while for like 1000 items it'll go for sec for me, but for some it can be 10sec... or worse! :twisted:
 
Back
Top