Thread: [DFBHD] Sub Goals
View Single Post
  #4  
Old 02-18-2018, 12:33 AM
Guest001 is offline Guest001
Registered User

Join Date: Aug 2008
Posts: 4,971

A better example...

To control movement you can setup checkpoints in the form of a sequence of subgoals.

2 or more groups of events tied together will do, all events must be completed before the next set of objectives is displayed, as in events 3 and 5 in the example.

It's also a good idea to make a brief description for all the events.

Group 1 is the Player group - Team Blue by default.

Code:
Event 0:Start
  Actions:
    Show Win Subgoal 1

Event 1:
Triggers:
    Group # has been destroyed
  Actions:
    Win Sub Goal 1 
    Show Win Subgoal 2
    Hide Win Subgoal 1
    Redirect group 1 to waypoint 1 - 1

Event 2:
Triggers:
    Group # has been destroyed
  Actions:
    Win Sub Goal 2 
    Redirect group 1 to waypoint 1 - 2

Event 3:Checkpoint
Triggers:
    Event 1 has been triggered and
    Event 2 has been triggered
  Actions:
    Show Win Subgoal 3
    Hide Win Subgoal 2

Event 4:
Triggers:
    Group # has been destroyed
  Actions:
    Win Sub Goal 3 
    Redirect group 1 to waypoint 1 - 3

Event 5:End
  Delay event 12 seconds
Triggers:
    Event 1 has been triggered and
    Event 2 has been triggered and
    Event 4 has been triggered
  Actions:
    Win, Blue
Reply With Quote