game_objective

Entity Type: Point Entity

Category: Others->Display

Info

This entity allows you to define an objective and lock certain entities until the objective is completed, additionally, this entity will trigger its target when the objective is completed.


Those entities can be 'locked' with a game_objective:

• func_button

• func_door

• func_door_rotating

• func_rot_button

• trigger_counter

• trigger_hurt

• trigger_multiple

• trigger_once

• trigger_push

trigger_teleport

game_counter

game_counter_set

game_end

game_player_hurt

game_text

Flags

None.

Keyvalues

Objective ID (objective)

The name to refer to in a game_objective_goal. Start with '$' if you want to load the objective data from the "objectives.txt" file.

Objective Description (description)

The description of the objective will be displayed on the HUD.


Objective Max Quantity (maxQuantity)

If set to something greater than 0 then this objective will act as a counter and will only count as completed when being called this certain amount of times by a game_objective_goal.

I/O Reaction

On Receive Inputs

On | Toggle | Off -> Define Objective.


Kill -> This will remove the objective from the list without counting it as completed.

Sending Outputs

Target (Toggle) -> On Objective Completed.


KillTarget (Kill) -> On Objective Completed.