Im trying to make the objective mode work but I cant. I used thise code i took it from PDH:
from game.plugins import plugin, destroyObjective
end_objective = [
plugin(destroyObjective, controlpoint = 'Factory', \
refcount = 1, \
template = 'factory_poland_01_dest'),
]
gpm_cq = {
64: end_objective,
}
I went ingame destroyed the factory and nothing happend. its suppose to swap the flag the object its connected to but that didnt happen.
can anyone help me with this?