Objectives By Exitus |
|
---|---|
How to add objectives | Entities: | 2x trigger_once 1x item_objective 1x item_objectivecompleted |
Instructions | ||
Step 1: | The first thing that you need is to make a test room. I'm using a room similar to the one from the locations tutorial because it fits my needs for this tutorial. | |
Step 2: | The next step is to create 2 trigger_once entities, one to trigger the objective, one to trigger its completed counterpart. Make the first one on top of the spawn and the other on the other side of the room. | |
Step 3: |
Next, add 1x item_objective and 1x item_objectivecompleted to your level. Go
into the item_objective and give it these properties:
objectivetitle: Objective # 1 (tells what to call the objective) objectivetext: Reach the other side of the room (Full text description) no_touch: 1 (use since you want it to be triggered by a trigger_once, not an object you pick up. I will cover this later on, maybe in a different tutorial. Now select the item_objectivecompleted the same properties you gave the item_objective, because it needs to be the same for the game to recognize what objective you are completing. |
|
Step 4: |
The last step is to connect the trigger_once at the spawn to the item_objective,
and the other trigger_once to the item_objectivecompleted. To do this, select
first the trigger_once, then select the item_objective and press Ctrl K. Do the
same for the other trigger_once and the item_objectivecompleted. Now your all done! |