# Player Property (Real)

Grammar — Player p prop
FlagsNative | Function

Returns the value of the specified player property as a real.

# Arguments

Returns — fixed

native fixed PlayerGetPropertyFixed(
	int inPlayer,
	int inProp,
);

Category: Player / Player Settings

# Examples

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:4489

    }

    lv_combatTime = MaxF(PlayerGetPropertyFixed(lp_player, c_playerPropDamageDealtTime), PlayerGetPropertyFixed(lp_player, c_playerPropDamageTakenTime));
    lv_combatTime = (TimerGetElapsed(libSwaC_gv_zS_CombatTimer) - lv_combatTime);
    return (lv_combatTime < 4.0);

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:4489

    }

    lv_combatTime = MaxF(PlayerGetPropertyFixed(lp_player, c_playerPropDamageDealtTime), PlayerGetPropertyFixed(lp_player, c_playerPropDamageTakenTime));
    lv_combatTime = (TimerGetElapsed(libSwaC_gv_zS_CombatTimer) - lv_combatTime);
    return (lv_combatTime < 4.0);

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:16493


        if ((libSwaC_gv_zS_NeedOverlordEnabled == true) && (libNtve_gf_PlayerInCinematicMode(1) == false) && ((TechTreeUnitCount(1, "Hatchery", c_techCountQueuedOrBetter) > 0) || (TechTreeUnitCount(1, "Lair", c_techCountQueuedOrBetter) > 0) || (TechTreeUnitCount(1, "Hive", c_techCountQueuedOrBetter) > 0))) {
            lv_made = PlayerGetPropertyFixed(1, c_playerPropSuppliesMade);
            lv_used = PlayerGetPropertyFixed(1, c_playerPropSuppliesUsed);
            lv_limit = PlayerGetPropertyFixed(1, c_playerPropSuppliesLimit);

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:16494

        if ((libSwaC_gv_zS_NeedOverlordEnabled == true) && (libNtve_gf_PlayerInCinematicMode(1) == false) && ((TechTreeUnitCount(1, "Hatchery", c_techCountQueuedOrBetter) > 0) || (TechTreeUnitCount(1, "Lair", c_techCountQueuedOrBetter) > 0) || (TechTreeUnitCount(1, "Hive", c_techCountQueuedOrBetter) > 0))) {
            lv_made = PlayerGetPropertyFixed(1, c_playerPropSuppliesMade);
            lv_used = PlayerGetPropertyFixed(1, c_playerPropSuppliesUsed);
            lv_limit = PlayerGetPropertyFixed(1, c_playerPropSuppliesLimit);
            if (((lv_made + (TechTreeUnitCount(1, "Overlord", c_techCountInProgressOnly) * StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, "Overlord", "Food", 1)))) < lv_limit) && ((lv_made + (TechTreeUnitCount(1, "Overlord", c_techCountInProgressOnly) * StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, "Overlord", "Food", 1)))) <= ((lv_used + libSwaC_gv_zS_NeedOverlordFoodRequired) - 0.1))) {

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:16495

            lv_made = PlayerGetPropertyFixed(1, c_playerPropSuppliesMade);
            lv_used = PlayerGetPropertyFixed(1, c_playerPropSuppliesUsed);
            lv_limit = PlayerGetPropertyFixed(1, c_playerPropSuppliesLimit);
            if (((lv_made + (TechTreeUnitCount(1, "Overlord", c_techCountInProgressOnly) * StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, "Overlord", "Food", 1)))) < lv_limit) && ((lv_made + (TechTreeUnitCount(1, "Overlord", c_techCountInProgressOnly) * StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, "Overlord", "Food", 1)))) <= ((lv_used + libSwaC_gv_zS_NeedOverlordFoodRequired) - 0.1))) {
                if ((libSwaC_gv_zS_NeedOverlordAbilityHighlightOn == false)) {

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:2538

    }

    lv_combatTime = MaxF(PlayerGetPropertyFixed(lp_player, c_playerPropDamageDealtTime), PlayerGetPropertyFixed(lp_player, c_playerPropDamageTakenTime));
    lv_combatTime = (TimerGetElapsed(libVCMI_gv_pM_CombatTimer) - lv_combatTime);
    return (lv_combatTime < 4.0);

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:2538

    }

    lv_combatTime = MaxF(PlayerGetPropertyFixed(lp_player, c_playerPropDamageDealtTime), PlayerGetPropertyFixed(lp_player, c_playerPropDamageTakenTime));
    lv_combatTime = (TimerGetElapsed(libVCMI_gv_pM_CombatTimer) - lv_combatTime);
    return (lv_combatTime < 4.0);

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:7397


        if ((libVCMI_gv_pM_NeedPylonEnabled == true) && (libNtve_gf_PlayerInCinematicMode(1) == false) && (TechTreeUnitCount(1, "Nexus", c_techCountQueuedOrBetter) > 0)) {
            lv_made = PlayerGetPropertyFixed(1, c_playerPropSuppliesMade);
            lv_used = PlayerGetPropertyFixed(1, c_playerPropSuppliesUsed);
            lv_limit = PlayerGetPropertyFixed(1, c_playerPropSuppliesLimit);

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:7398

        if ((libVCMI_gv_pM_NeedPylonEnabled == true) && (libNtve_gf_PlayerInCinematicMode(1) == false) && (TechTreeUnitCount(1, "Nexus", c_techCountQueuedOrBetter) > 0)) {
            lv_made = PlayerGetPropertyFixed(1, c_playerPropSuppliesMade);
            lv_used = PlayerGetPropertyFixed(1, c_playerPropSuppliesUsed);
            lv_limit = PlayerGetPropertyFixed(1, c_playerPropSuppliesLimit);
            if (((lv_made + (TechTreeUnitCount(1, "Pylon", c_techCountInProgressOnly) * StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, "Pylon", "Food", 1)))) < lv_limit) && ((lv_made + (TechTreeUnitCount(1, "Pylon", c_techCountInProgressOnly) * StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, "Pylon", "Food", 1)))) <= ((lv_used + libVCMI_gv_pM_NeedPylonFoodRequired) - 0.1))) {

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:7399

            lv_made = PlayerGetPropertyFixed(1, c_playerPropSuppliesMade);
            lv_used = PlayerGetPropertyFixed(1, c_playerPropSuppliesUsed);
            lv_limit = PlayerGetPropertyFixed(1, c_playerPropSuppliesLimit);
            if (((lv_made + (TechTreeUnitCount(1, "Pylon", c_techCountInProgressOnly) * StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, "Pylon", "Food", 1)))) < lv_limit) && ((lv_made + (TechTreeUnitCount(1, "Pylon", c_techCountInProgressOnly) * StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, "Pylon", "Food", 1)))) <= ((lv_used + libVCMI_gv_pM_NeedPylonFoodRequired) - 0.1))) {
                if ((libVCMI_gv_pM_NeedPylonAbilityHighlightOn == false)) {

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/StartingExperienceLib.galaxy:444

    }

    lv_combatTime = MaxF(PlayerGetPropertyFixed(lp_player, c_playerPropDamageTakenTime), PlayerGetPropertyFixed(lp_player, c_playerPropDamageDealtTime));
    lv_combatTime = (TimerGetElapsed(libGame_gv_gobalTimer) - lv_combatTime);
    return (lv_combatTime < 3.0);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/StartingExperienceLib.galaxy:444

    }

    lv_combatTime = MaxF(PlayerGetPropertyFixed(lp_player, c_playerPropDamageTakenTime), PlayerGetPropertyFixed(lp_player, c_playerPropDamageDealtTime));
    lv_combatTime = (TimerGetElapsed(libGame_gv_gobalTimer) - lv_combatTime);
    return (lv_combatTime < 3.0);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/StartingExperienceLib.galaxy:461

    }

    lv_combatTime = PlayerGetPropertyFixed(1, c_playerPropDamageTakenTime);
    lv_combatTime = (TimerGetElapsed(libGame_gv_gobalTimer) - lv_combatTime);
    return (lv_combatTime < 3.0);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/StartingExperienceLib.galaxy:478

    }

    lv_combatTime = PlayerGetPropertyFixed(1, c_playerPropDamageDealtTime);
    lv_combatTime = (TimerGetElapsed(libGame_gv_gobalTimer) - lv_combatTime);
    return (lv_combatTime < 3.0);

mods/missionpacks/campaigncommon.sc2modbase.sc2data/LibCMMI.galaxy:91

    }

    lv_combatTime = MaxF(PlayerGetPropertyFixed(lp_player, c_playerPropDamageDealtTime), PlayerGetPropertyFixed(lp_player, c_playerPropDamageTakenTime));
    lv_combatTime = (TimerGetElapsed(libCMMI_gv_NM_CombatTimer) - lv_combatTime);
    return (lv_combatTime < 4.0);

mods/missionpacks/campaigncommon.sc2modbase.sc2data/LibCMMI.galaxy:91

    }

    lv_combatTime = MaxF(PlayerGetPropertyFixed(lp_player, c_playerPropDamageDealtTime), PlayerGetPropertyFixed(lp_player, c_playerPropDamageTakenTime));
    lv_combatTime = (TimerGetElapsed(libCMMI_gv_NM_CombatTimer) - lv_combatTime);
    return (lv_combatTime < 4.0);

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:9197

    }

    lv_combatTime = MaxF(PlayerGetPropertyFixed(lp_player, c_playerPropDamageDealtTime), PlayerGetPropertyFixed(lp_player, c_playerPropDamageTakenTime));
    lv_combatTime = (TimerGetElapsed(libCOMI_gv_cM_CombatTimer) - lv_combatTime);
    return (lv_combatTime < 4.0);

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:9197

    }

    lv_combatTime = MaxF(PlayerGetPropertyFixed(lp_player, c_playerPropDamageDealtTime), PlayerGetPropertyFixed(lp_player, c_playerPropDamageTakenTime));
    lv_combatTime = (TimerGetElapsed(libCOMI_gv_cM_CombatTimer) - lv_combatTime);
    return (lv_combatTime < 4.0);

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMU.galaxy:13164

            lv_indexPlayer = PlayerGroupNextPlayer(autoAA8BF894_g, lv_indexPlayer);
            if (lv_indexPlayer < 0) { break; }
            lv_supplyDelta = (PlayerGetPropertyFixed(lv_indexPlayer, c_playerPropSuppliesUsed) - lv_combinedSupply);
            libCOMU_gv_cT_SharedSupplyIndividual[lv_indexPlayer] += lv_supplyDelta;
        }

mods/voidprologue.sc2modbase.sc2data/LibA3DDD02B.galaxy:3382

    }

    lv_combatTime = MaxF(PlayerGetPropertyFixed(lp_player, c_playerPropDamageDealtTime), PlayerGetPropertyFixed(lp_player, c_playerPropDamageTakenTime));
    lv_combatTime = (TimerGetElapsed(libA3DDD02B_gv_pP_CombatTimer) - lv_combatTime);
    return (lv_combatTime < 4.0);

mods/voidprologue.sc2modbase.sc2data/LibA3DDD02B.galaxy:3382

    }

    lv_combatTime = MaxF(PlayerGetPropertyFixed(lp_player, c_playerPropDamageDealtTime), PlayerGetPropertyFixed(lp_player, c_playerPropDamageTakenTime));
    lv_combatTime = (TimerGetElapsed(libA3DDD02B_gv_pP_CombatTimer) - lv_combatTime);
    return (lv_combatTime < 4.0);