I have made a few maps, and have been trying to add a .SCAR file to one of them. However, I keeping finding problems in my code that I do not know how to correct (I've been checking relic's ScarDocs, and the tutorials on the Relic RDN wiki, but havn't found a solution). What I am trying to make my map do, Is give a player the appropriete relic unit for their race, when they take control of either of the two critical locations on the map. (Each location is coded for separately, with small differences - each needs the unit to be created in a different location) I *Think* most of my code is Ok, or not far off, but I can't really tell, as I'm getting a problem early on. The problem is that everytime I used EGroup_IsCapturedByPlayer(..., I'd get a fatal scar error, and had no idea what exactly was wrong. So instead of having each location as its own group, and using the EGroup command, I tried to use Entity_IsCapturedByPlayer(... but I could not find the entity ID. I tried to find the entityID for each location, by using the Entity_FromWorldID(... command, and entering the ID numbers I found in the mission editor (1024 and 1025) but this was an invalid input. Could someone please tell me either how to make the EGroup command work, or how to find the EntityID. Thankyou in advance.
never mind, I think I may have sorted it myself - I shortened my code by about 200 lines too, so there was probably lots wrong with what I had before.
Once known as Member 167465.
21st February 2007
Mr_Pattle;4386146never mind, I think I may have sorted it myself - I shortened my code by about 200 lines too, so there was probably lots wrong with what I had before.
Lol coding is such a pain in the ass, thats why i dont mod. I never bothered to learn :P.
29th January 2007
Very helpful :~
What about your error logs, it might list the part where the error appears in. If I remember correctly, scar was a line by line code.