# Unit Progress Bar Check
Grammar — Progress bar of unit slot slot is state
Flags —Native
|Function
Returns true if a unit progress bar is at a certain state.
# Arguments
unit
— Unitint
— Slotint
[ preset::UnitProgressState ] — State
Returns — bool
native bool UnitCheckProgressState(
unit inUnit,
int inSlot,
int inState,
);
# Related
Category: Unit / Progress And Queues
- [F] —
void
— Set Unit Progress — ( UnitSetProgressComplete ) - [F] —
fixed
— Unit Progress (Percent) — ( UnitGetProgressComplete ) - [F] —
void
— Pause/Resume/Cancel Unit Progress Bar — ( UnitSetProgressStage ) - [F] —
bool
— Unit Progress Bar Check — ( UnitCheckProgressState ) - [F] —
bool
— Unit Is Under Construction — ( libNtve_gf_UnitIsUnderConstruction ) - [F] —
void
— Unit Arming Progress — ( TriggerAddEventUnitArmMagazineProgress ) - [F] —
void
— Unit Construction Progress — ( TriggerAddEventUnitConstructProgress ) - [F] —
void
— Unit Learn Progress — ( TriggerAddEventUnitLearnProgress ) - [F] —
void
— Unit Research Progress — ( TriggerAddEventUnitResearchProgress ) - [F] —
void
— Unit Revive Progress — ( TriggerAddEventUnitReviveProgress ) - [F] —
void
— Unit Specialization Progress — ( TriggerAddEventUnitSpecializeProgress ) - [F] —
void
— Unit Training Progress — ( TriggerAddEventUnitTrainProgress ) - [F] —
string
[ gamelink ] — Triggering Progress Object — ( EventUnitProgressObjectType ) - [F] —
string
[ gamelink::Abil ] — Triggering Progress Ability — ( libNtve_gf_TriggeringProgressAbility ) - [F] —
string
[ gamelink::Effect ] — Triggering Progress Effect — ( libNtve_gf_TriggeringProgressEffect ) - [F] —
unit
— Triggering Progress Unit — ( EventUnitProgressUnit ) - [F] —
string
[ gamelink::Unit ] — Triggering Progress Unit Type — ( libNtve_gf_TriggeringProgressUnitType ) - [F] —
string
[ gamelink::Upgrade ] — Triggering Progress Upgrade — ( libNtve_gf_TriggeringProgressUpgrade ) - [F] —
int
— Number Of Items In Training Queue Slot — ( UnitQueueItemCount ) - [F] —
string
[ gamelink ] — Queued Object In Training Queue Slot — ( UnitQueueItemGet ) - [F] —
string
[ gamelink::Behavior ] — Queued Behavior Type In Training Queue Slot — ( libNtve_gf_QueuedBehaviorTypeInTrainingQueueSlot ) - [F] —
string
[ gamelink::Unit ] — Queued Unit Type In Training Queue Slot — ( libNtve_gf_QueuedUnitTypeInTrainingQueueSlot ) - [F] —
string
[ gamelink::Upgrade ] — Queued Upgrade Type In Training Queue Slot — ( libNtve_gf_QueuedUpgradeTypeInTrainingQueueSlot ) - [F] —
int
— Training Queue Property Of Unit — ( UnitQueueGetProperty ) - [F] —
bool
— Training Queue Slot Type Check — ( UnitQueueItemTypeCheck ) - [F] —
fixed
— Training Queue Time — ( UnitQueueItemTime )
# Examples
— None found —