CASW_Objective
(Redirected from Asw mission objective)
Jump to navigation
Jump to search
Code classes:
CASW_Objective
(objectives)CBaseEntity
(all ents)
CASW_Objective
is a base class for all objective entities.
Classnames:
asw_mission_objective
(Not in FGD) (useless entity! it can't do anything on its own)
Keyvalues[edit | edit source]
- Priority (Not in FGD)
(Priority)
<integer>
- Confirm: Affects the order that the objectives appear in?
- Optional (Not in FGD)
(Optional)
<boolean>
- Confirm: Makes it so this objective doesn't have to be completed in order to finish the level?
- Visible
(Visible)
<boolean>
- Should this objective be visible? (If hidden, it can be shown at any time with Set Visible)
- 0: Hidden
- 1: Visible
- Objective Title
(objectivetitle)
<string>
- Title to use for this objective in the list on the briefing screen, or in-game for the current objective HUD display.
- Objective Description Line 1
(objectivedescription1)
to Objective Description Line 4(objectivedescription4)
<string>
- Paragraphs of text detailing this objective on the start screen. Each string is limited to 255 characters!
- Objective Image
(objectiveimage)
<string>
- Name of a material in
materials/vgui/swarm/objectivepics/
to show as a screenshot for this objective. Omit the file extension. Marker Name(objectivemarkername)
<target_destination>
- Does not affect anything! See
asw_marker
. Map Markings(mapmarkings)
<string>
- Does not affect anything! This is done with
asw_marker
. - Icon 1
(objectiveinfoicon1)
to Icon 5(objectiveinfoicon5)
<string>
- "Icon displayed next to the map on the briefing." Clarify: No such thing?
- HUD Icon
(objectiveicon)
<string>
- "Icon displayed next to the objective name on the HUD." Clarify: No such thing?
Inputs[edit | edit source]
- SetVisible
<boolean>
- Sets Visible.
Outputs[edit | edit source]
- OnObjectiveComplete
- Fires when the objective is completed.