Home   Help Search Login Register  

Author Topic: updating the briefing and map during the mission  (Read 558 times)

0 Members and 2 Guests are viewing this topic.

BIGBAD

  • Guest
updating the briefing and map during the mission
« on: 29 Dec 2002, 21:55:16 »
Not really that new to this, just never had the need to make this happen:
In my MP mission, once a certain phase of the mission has been completed, I need the briefing and map to update to reveal a new set of objectives (new orders, new markers on the map etc.) without exiting the current mission.
Can anyone advise me on how to do this?

Thanks in advance,
BIGBAD

Kaliyuga

  • Guest
Re:updating the briefing and map during the mission
« Reply #1 on: 30 Dec 2002, 00:05:01 »
In my MP mission

MP Editing board:
http://www.ofpec.com/yabbse/index.php?board=7


 That being said... ;D

 In single player ...  you would have to place the markers on the map as invisible, or "empty"  markers...   in a script, or trigger you can make make use of the  
setmarkertype command to change your empty marker to one that is visible ...

you just name your markers and then  use this syntax

markername setmarkertype "markertype"

the full list of types is in the command ref listed with the command...
:cheers:
« Last Edit: 30 Dec 2002, 00:06:03 by Kaliyuga »

BIGBAD

  • Guest
Re:updating the briefing and map during the mission
« Reply #2 on: 31 Dec 2002, 23:38:02 »
Ok thanks,
that will help update those markers.
But I'm still searching for a way to update the briefing in the second phase of the mission.  I need to be able to detail the new objectives etc. on that screen.

Adam

Offline Ranger

  • Members
  • *
  • Hoo-ah!
Re:updating the briefing and map during the mission
« Reply #3 on: 01 Jan 2003, 00:21:29 »
You have to predefine all of your objectives in the briefing.html file.  Then, you may hide the ones that you want to appear later by putting the following code in the init.sqs file:

"1" objStatus "HIDDEN"

Do this for each objective that you want to be hidden, with the number corresponding to the appropriate objective as you defined it in the briefing.html file.  When you want the objective to appear, use the following code in your script, trigger, waypoint, or whatever you're using:

"1" objStatus "ACTIVE"

:cheers:
Ranger