Problem with objectives.


(PasaKuningas) #1

Hey y’all.

So, the situation is following:
I’m rather sure it’s not been asked before but imagine situation where you have 2 different objectives and 2 different “goals” and each objective must go to specific “goal”.
Now the problem is one can’t do this directly, right? If you take one objective you can put it to what-ever “goal” you want.

So the question is: Is there a workaround for this problem? :rolleyes:

(One way which is not good would be to turn other “goal” off if one objective is picked up but that makes things just … messy, what if both are picked up, etc.)

Cheers,
Pask


(UJERebel) #2

Long time since i coded.

Can they be delivered at the same time?
No: just make the other one visible when the first is delivered.

Yes: hmmm :slight_smile:
Take a look al MBL maps, the one with the gun and gold ( 2 diff objectives too) and its open source

Edit:
MLB Egypt
http://www.gd-experience.eu/index.php?section=2&category=6&rdl=1205563255


(.Chris.) #3

In castle now renamed midnight the way I got around this was to allow either objective to be captured at either point but once you have delivered to one point I first set of a trigger push to move everyone away than as a back up I have a script mover block the trigger brush. I’ll also be adding rubble and debris in future versions to make it appear more realistic.

My objective is carrying explosive charges to anti air cannons so my idea only really makes sense in this scenario though.


(PasaKuningas) #4

Sounded promising at first but when I tried it, it obviously didn’t work as planned. You can deliver the bullet as gold and end the map if you manage to get it out.

Hmm. :confused:


(UJERebel) #5

Someone could help me with this idea?

Make indeed 1 delivery spot for all ( like it is now) And then in the script, check wich objective has been delivered? Or make you own objective delivery spots?

Grtz