1866bestmod said:
oh pls, i dont know where in code problem is? what does invalid agent ID do??? it is triggers in template.py??
Nobody can fix that error for you - posting loads of useless code and error messages is a waste of time, and quite annoying if you ask me. You will have to figure it out yourself
Regardless i will try to help,
your error message for lead charge says this
SCRIPT WARNING ON OPCODE 1704: Invalid Agent ID: 571; LINE NO: 6:
At Mission Template mst_lead_charge trigger no: 68 consequences.
This tells us 3 things
- that there is an error in the
lead_charge template
- that there is an error in
trigger number 68 in this template
- and that the error is to do with an
invalid agent id on roughly line 6
This tells us where to look
Now all of that code you posted to do with lead_charge tells us absolutely nothing - which is why I said it is a waste of time.
You only have around
40 triggers in that code - I went through and counted them. And we know that the error lies in
trigger 68 (we know from the error message above). So therefor the error is not in the code you posted. It must be in one of the two trigger groups you have at the end of your lead_charge template
-
"my_triggers_collection"
-
"order_volley_triggers"
I know nothing of these two bits of code, as I dont have your module_system, so cannot help anymore
HarbingerOfDoom said:
Okay, total scripting nub here, but I managed to set up the module system. Can you tell me exactly what I must open and add? I'm not really looking to get into scripting, this is just for a project of mine.
You will have to post the code in the mission_template file. But it is not as simple as you think, it depends on what troops you want to only be able to walk, and when you want them to only be able to walk.