Re: Picking Single Objects and Fast Loop Trouble
Yep. I definitely needed to know how to properly do it. <3 Thanks, Nifflas! I'll tweak it later (I have to run for now) and see if I can get the stuffs to work. Although it was a bit daunting to look at what with the level of evilness coming from the GWARGHs.
Although, since I'm a bit clueless with that math >.>, is there a way to modify that event to have them target what's near them in kind of an oval shape as opposed to what's around them/ within their radius? Just for the sake of the isometric engine stuff.
Ironically though, bigredron, that -is- the test engine. ><
Re: Picking Single Objects and Fast Loop Trouble
A test engines with over 1000 events? You really need to look into optimizing your events more...
As for the oval shape, that certainly is possible. All you need to do is modify the x or y values in the triginomety. At the moment its a circle, if you say reduce the y value by half then that gives you an oval shape that is half the height than it is wide. If you google around you will see the formulas for both circles (which is what nifflas used) and ovals amongst other shapes.
Re: Picking Single Objects and Fast Loop Trouble
Alright. Thanks a ton to all of you for your help and patience! ^.^ It works now with a bit of tweaking with that code. <3 I'll try adding in the oval in a bit, but they're now all firing independantly of one another AND at what they're supposed to be attacking. And yup, it's got tons of events. o.o Guess I'm just not good at optimizing 'em.
Now, if only I knew which one of these many formulas I'm finding will work right in MMF2... x.x
--- Nevermind! Got it! Thanks again, all. =)