ED Forums - View Single Post - Complete Transport and Logistics Deployment - CTLD
View Single Post
Old 06-12-2018, 11:33 AM   #862
Alpenwolf
Senior Member
 
Alpenwolf's Avatar
 
Join Date: Feb 2015
Posts: 1,318
Default

Say you have a trigger zone called "Trigger Zone Senaki" at Senaki (Blue) for picking up troops/crates. The trigger zone is listed in the pickupzones list among many others and assigned for Blue (number 2) only:
Code:
ctld.pickupZones = {
.
.
.

{ "Trigger Zone Senaki", "orange", -1, "yes", 2 },
.
.
.

}
Now, if Red destroys Senaki's Blue ground units and deploys troops on the ground, Senaki turns Red. Only one thing is not working:
Senaki turns Red -> triggers an action -> do script:
Code:
ctld.pickupZones = {
{ "Trigger Zone Senaki", "orange", -1, "yes", 1 },
}
This code is supposed to activate the pickupzone "Trigger Zone Senaki" for Red only. For some reason when spawning in a Red Mi-8 after capturing Senaki I can only pick up crates but no troops! It's like the code is working but a bit limited. On the other hand, after Senaki turned Red, I spawned in a Blue Mi-8 just to make sure the trigger zone is deactivated for Blue. Same issue; crates can be picked up but no troops although both should be blocked for Blue.


Hmmm...
Alpenwolf is offline   Reply With Quote