Postby poiuy_qwert » Thu Oct 30, 2008 12:22 am
Ok well I finally get a chance to look at this again (sorry it was so long). I still do not get any crashes using MPQDraft and LocUnlock. I think there should be no way LocUnlock is making MPQDraft crash, maybe you are experiencing a crash unrelated to LocUnlock (MPQDraft likes to crash when I change the input/output paths and do other things). Also so far all my tests have shown that LocUnlock works fine, except the Giving of units in your example isn't working. If you SetResources(Player 1, Set To, 1000, Ore and Gas) right after the GiveUnitstoPlayer, you'll see the trigger does fire (meaning the Anywhere location is correctly set up to detect the medic), just the SCV's arn't being given. I don't know whats going on there, but its not LocUnlocks fault. Right now all i can think of is either PyTRG is compiling the GiveUnitstoPlayer trigger incorrect (the trigger works fine in staredit though, so i believe this is not the case), or there may be another melee based restriction on giving units.