Yellow Arrows / Objective (Battlefront II - 2005)

Started by Gabin Dayback, March 02, 2018, 10:30:43 PM

Previous topic - Next topic
March 02, 2018, 10:30:43 PM Last Edit: March 05, 2018, 10:09:08 PM by Gabin Dayback
Hello again.

Scenario:

- Munged a Conquest Map and Disabled the Multiplayer Rules. (multiplayerRules = false)

Goal:

- Get the New Objective Popup Screen when the game starts. (Just like in any other campaign mission.)
- Remove the Yellow Arrows / Yellow Map highlights pointing the CPs.

How can this be done and what is the best / easiest way?

UPDATE (SOLVED)

It seems I have figured this out. I will post the solution here for future references:

   
    --This adds the CPs to the objective.  This needs to happen after the objective is set up
    conquest:AddCommandPost(cp1)
    conquest:AddCommandPost(cp2)
    conquest:AddCommandPost(cp3)
    conquest:AddCommandPost(cp4)
    conquest:AddCommandPost(cp5)
    conquest:AddCommandPost(cp6)

   
    conquest:Start()

    MapRemoveEntityMarker("cp1")
    MapRemoveEntityMarker("cp2")
    MapRemoveEntityMarker("cp3")
    MapRemoveEntityMarker("cp4")
    MapRemoveEntityMarker("cp5")
    MapRemoveEntityMarker("cp6")