I have a couple of questions. I am nearing completion of Heaven's Last Defense and I have run into some strange errors that I can't seem to lock down.
First: I have written a series of triggers for setting alliances and such using unit groups. Every time I test my map, I get a very long string of errors pertaining to that set of triggers in the trigger debugger. Invalid parameter, value -1, (0,15) I think it is because I am testing it offline that it is doing this but I wanted to make sure.
Second: Whenever I test my map, the camera starts in the lower left corner of the map, not at the start point for player 1. I have set up start points for all 8 players in the map. Is this just a function of testing as well or to I need to set up cameras for all the start points.
Third: I have a leaderboard set up to track kills and hero kills. Unfortunately, killing certain structures or units, destroys other units on the map. This generates an error in the trigger as the leaderboard is set up off of Owner of Killing Unit. Is there a workaround for this error?
Finally: Can I create my own Achievements for this particular map? Is there a way to track these achievements?
1st one I would say there is something wrong with the trigger. If I'm not mistaken, when you test you take up the first Human player slot so you'll most likely get these errors online.
2nd. I'm pretty sure you have to set up the camera yourself. Just make some points or use units as point and tell the camera to go there on map initialization. Make sure you use pan camera or your gonna get some weird camera stuff going on.
3. Use a condition so that the owner of killing unit has to be greater than 0. Should work.
Last, You can make your own achievements system and use banks to track the data, but you cannot make ones like the ones blizz has afaik.
If you still have problems with your triggers, try to paste them at pastebin and we can look at them
Thank you sir, I am at work right now, so I cannot do that. I will definitely do that in the morning though and you can scope them out at your leisure. I am trying to get as much research and stuff as possible out of the way now so I can go home and finish this up.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I have a couple of questions. I am nearing completion of Heaven's Last Defense and I have run into some strange errors that I can't seem to lock down.
First: I have written a series of triggers for setting alliances and such using unit groups. Every time I test my map, I get a very long string of errors pertaining to that set of triggers in the trigger debugger. Invalid parameter, value -1, (0,15) I think it is because I am testing it offline that it is doing this but I wanted to make sure.
Second: Whenever I test my map, the camera starts in the lower left corner of the map, not at the start point for player 1. I have set up start points for all 8 players in the map. Is this just a function of testing as well or to I need to set up cameras for all the start points.
Third: I have a leaderboard set up to track kills and hero kills. Unfortunately, killing certain structures or units, destroys other units on the map. This generates an error in the trigger as the leaderboard is set up off of Owner of Killing Unit. Is there a workaround for this error?
Finally: Can I create my own Achievements for this particular map? Is there a way to track these achievements?
@creosmalkor: Go
1st one I would say there is something wrong with the trigger. If I'm not mistaken, when you test you take up the first Human player slot so you'll most likely get these errors online.
2nd. I'm pretty sure you have to set up the camera yourself. Just make some points or use units as point and tell the camera to go there on map initialization. Make sure you use pan camera or your gonna get some weird camera stuff going on.
3. Use a condition so that the owner of killing unit has to be greater than 0. Should work.
Last, You can make your own achievements system and use banks to track the data, but you cannot make ones like the ones blizz has afaik.
If you still have problems with your triggers, try to paste them at pastebin and we can look at them
Thank you sir, I am at work right now, so I cannot do that. I will definitely do that in the morning though and you can scope them out at your leisure. I am trying to get as much research and stuff as possible out of the way now so I can go home and finish this up.