Nah it sometimes lets you use it for ages, then one day without warning it will stop working.
you probably need to make sure the enemies are in a group then check each enemies alterable value individually, maybe a fastloop can help speed it up (which is not an extension in MMF2)
i'm terrible with fastloops though so someone else needs to help with an actual solution
You could spread a value (let's name it ID), then start a fast loop the number of instances (do this in a separate event)
use two counter to externally hold information
On loop
If "ID" = Loop index
If Value you you are comparing > the value stored in counter
Then
Set one counter to that value
Set the other counter to "ID"
At the end of the loop, the object with the greatest value will have his "ID" stored in one of the counters
Now you can follow that by
If value "ID" = counter
and do whatever you want
Yeah, just why did i know, that i will have to use a fastloop......... i hate them and get them only working properly after hours.
Well, you`re right, the demo only works for 30 days, but if you delete it, make a new xp client an then reinstall it, it will work for another 30 days.
Why i do this? I only got the german version of mmf2 dev, but since knp i only used english versions. So, in time i need to buy the english one.
Mayby it is useful for you:
I found another way to fix my problem.
The player shoots a detector, which passes by the enemys an gives them numbers from 1 to X. This is not very professional, i know, but my function now works as wished, so why spending hours for a fastloop........