Guest Posted April 6, 2007 Im having some interesting results here, and from just one unit. Regardless if Im deleting a unit or setPos a unit to a distant pos (not sure if distance is making difference), im getting Fps drops every time it occurrs, in fact, randomly I will lose almost all fps, from 25 fps down to 4, just from one delete/setPos, Ive tried to weed out any other possible issues, but I think something is wrong here. Real bummer is that Im trying to use DeleteVehicle to manage lag and remove units from map as player is away, seems im causing lag by doing this instead lol Wondered if anyone has come across this in Arma yet as well... Share this post Link to post Share on other sites
Guest Posted April 6, 2007 Anyone, could use some input on this. It's certainly concerning me, if Arma causes lag during just deleting on unit, not quite sure how to deal with this in hiding/spawning units.. Need to do some more testing later this evening, gotta go to work now Share this post Link to post Share on other sites
Maddmatt 1 Posted April 6, 2007 That is strange. Are you using the beta patch? If so, does it happen both with and without it? I haven't tested this myself but I will later. Share this post Link to post Share on other sites
Guest Posted April 6, 2007 Made a quick test here with a unit and with a plane. Did delete them and did a "setpos" with them and my game runs as it always runs. Arma might (havent tested this) cause lag if you delete/setpos many units/objects at the same time. But with one this should not be noticable. Have you tried to make a simple test mission for just this or are you doing it "your mission"? Share this post Link to post Share on other sites
Guest Posted April 6, 2007 Its a test mission, where im deleting a civilian during his wp plan, then spawning same unit later. I notice with fraps on I lose about 1 -2 fps each time he is deleted, and occasionally I get a lockup for like 10 seconds during it. I know about the problems with unit being accessed thru script that is deleted, and with a deleted unit in a vehicle, neither are applicable here. Very odd really, do a few more tests tho. Originally I had thought this was due to setPos'ing to long distance, but im getting same lag spikes even with deleteVehicle. Thanks for the responses, Im still hoping this is something else, but I cant really see anything else thats causing this Share this post Link to post Share on other sites
Guest Posted April 6, 2007 Sorry about all this, I have discovered the problem. Its not DeleteVehicle nor SetPos unit, its nearObjects command in the script, lol, never even thought about that till just now. Sorry again for all this, and thanks for trying to help guys. Time to fix the problem and be done with this application (finally) Share this post Link to post Share on other sites