#21
|
|||
|
|||
Hi!
As you know we added a Spit2 to the captured blue field after reds capture it. We have an annoying problem with it: after blue recapture the airfield and it becomes blue again reds can still spawn Spit2 on it. Looks like 2 spawnpoints remain in one place (both blue and red). Could you please have a look at the scripts and check that the red spawnpoint is destroyed after blue recapture the airfield? I have seen code destroying spawnpoints when a field is captured in naryv examples I posted in this forums sections. |
#22
|
|||
|
|||
Quote:
Code:
foreach (AiBirthPlace bp in GamePlay.gpBirthPlaces()) { try { bp.destroy(); } catch (Exception ex) { Console.WriteLine(ex.Message); } } |
#23
|
|||
|
|||
Thanks a lot! Will try it.
|
|
|