Yeah, i suspect myself trying too hard on this mission, but the results are satisfying you know.
And although I don't have the talent of perfection on other aspects of my life, I do find it when it comes to OFP. But I go too far sometimes that I got lost with unnecessary stuff. (OneShotTwoKill)
I have successfully re-written AI Chase scripts core concept that it's now much better.
And other thing is that it is now a re-usable script. (Re-usable in any mission)
I will post a new thread for "AI Chase" once it's fully furnished. (I've just completed writing it's readme in .rtf format)
But yes, I do all of this just because I am having fun by doing these, even writing a proper readMe is fun for me, as it might improve my English as well as my ability to produce some documents.
(By the way, the reason why you are not seeing units come after you is that the script was only sending "one" unit after you even in v1.4
, due to the "_i = 0" line at the start of the loop.)
Anyway, I still would like to get some feedback from v1.4 before uploading v1.5, as I sense further minor bugs in it.
About Body Detection
Thanks for your good methods, I'll try to write a re-usable body detection script. But I tend to avoid eventhandlers.
I think after reading your text, I've just figured out a new method (maybe a crap method)
- Create game logic for each guys, like you said.
- setpos the gamelogics to it's unit.
- Once the unit is dead(checked by !alive unit), setpos the logic to him(not sure if I can still retrieve his pos), and read the position.
- Remove that logic from old array, and add it to new array. (F.I Bodies)
- check
Just sharing my idea. I might come up with the script tomorrow.
Regards,
Haroon1992