# Player Property (Integer)
Grammar — Player p prop
Flags —Native
|Function
Returns the value of the specified player property as an integer.
# Arguments
int
— Playerint
<preset::Player_Property_Get> — Property
Returns — int
native int PlayerGetPropertyInt(int inPlayer, int inProp);
# Related
Category: Player / Player Settings
- Modify Player Property (Integer) —
void
— PlayerModifyPropertyInt - Modify Player Property (Real) —
void
— PlayerModifyPropertyFixed - Player Property (Integer) —
int
— PlayerGetPropertyInt - Player Property (Real) —
fixed
— PlayerGetPropertyFixed - Modify Player Score (Integer) —
void
— PlayerScoreValueSetFromInt - Modify Player Score (Real) —
void
— PlayerScoreValueSetFromFixed - Player Score Value (Integer) —
int
— PlayerScoreValueGetAsInt - Player Score Value (Real) —
fixed
— PlayerScoreValueGetAsFixed - Turn Player Flag On/Off —
void
— PlayerSetState - Player Flag Check —
bool
— PlayerGetState - Player License Check —
bool
— PlayerHasLicense - Player Access Check —
bool
— PlayerHasAccessTo - Player Has Reward —
bool
— PlayerHasReward - Player Has Talent —
bool
— PlayerHasTalent - Name Of Player —
text
— PlayerName - Handle Of Player —
string
— PlayerHandle - Race Of Player —
string
<gamelink::Race> — PlayerRace - Hero Of Player —
string
<gamelink::Hero> — PlayerHero - Skin Of Player —
string
<gamelink::Skin> — PlayerSkin - Mount Of Player —
string
<gamelink::Mount> — PlayerMount - Spray Of Player —
string
<gamelink::Spray> — PlayerSpray - Artifact Of Player —
string
<gamelink::Artifact> — PlayerArtifact - Artifact Rank Of Player —
int
— PlayerArtifactRank - Commander Of Player —
string
<gamelink::Commander> — PlayerCommander - Commander Level Of Player —
int
— PlayerCommanderLevel - Commander Mastery Level Of Player —
int
— PlayerCommanderMasteryLevel - Commander Mastery Talent Rank Of Player —
int
— PlayerCommanderMasteryTalentRank - Commander Selected Prestige Of Player —
int
— PlayerCommanderSelectedPrestige - Brutal Plus Difficulty of Player —
int
— PlayerBrutalPlusDifficulty - Retry Mutation Index of Player —
int
— PlayerRetryMutation - Allied Commander Enemy Wave Type —
int
— PlayerACEnemyWaveType - Start Location Of Player —
point
— PlayerStartLocation - Controller Of Player —
int
<preset::PlayerController> — PlayerType - Status Of Player —
int
<preset::PlayerStatus> — PlayerStatus - Set Player Color —
void
— PlayerSetColorIndex - Set Player Race —
void
— PlayerSetRace - Set Player Hero —
void
— PlayerSetHero - Set Player Skin —
void
— PlayerSetSkin - Set Player Console Skin —
void
— PlayerSetConsoleSkin - Apply Player Skin —
void
— PlayerApplySkin - Apply Player Skin (Replacing Existing Unit) —
void
— libNtve_gf_PlayerApplySkinReplacingExistingUnit - Set Player Mount —
void
— PlayerSetMount - Set Player Spray —
void
— PlayerSetSpray - Set Player Commander —
void
— PlayerSetCommander - Set Player Commander Level —
void
— PlayerSetCommanderLevel - Set Player Commander Mastery Level —
void
— PlayerSetCommanderMasteryLevel - Set Player Death Timer —
void
— PlayerSetDeathTimer - Set Player Bounds —
void
— PlayerSetBounds - Add Player Talent —
void
— PlayerAddTalent - Remove Player Talent —
void
— PlayerRemoveTalent - Add Player Response —
void
— PlayerAddResponse - Remove Player Response —
void
— PlayerRemoveResponse - Clear Player Response —
void
— PlayerClearResponse - Player Color —
int
<playercolor> — PlayerGetColorIndex - Override Player Option —
void
— PlayerOptionOverride - Player Hotkey Profile —
string
— PlayerGetHotkeyProfile - Player Property Changed —
void
— TriggerAddEventPlayerPropChange - Player Joins Game —
void
— TriggerAddEventPlayerJoin - Player Leaves Game —
void
— TriggerAddEventPlayerLeft - Triggering Player —
int
— EventPlayer - Triggering Player Property —
int
<preset::Player_Property_Get> — EventPlayerProperty - Triggering Player Property Change (Integer) —
int
— EventPlayerPropertyChangeInt - Triggering Player Property Change (Real) —
fixed
— EventPlayerPropertyChangeFixed - Player Add Label —
void
— PlayerAddLabel - Player Remove Label —
void
— PlayerRemoveLabel - Player Remove All Labels —
void
— PlayerRemoveAllLabels - Player Has Label —
bool
— PlayerHasLabel - Player Add Reward —
void
— PlayerAddReward
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:3538
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:3566
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:284
lv_msg = (lv_msg + StringExternal("Param/Value/0D9A275B") + IntToText(lv_owner) + StringExternal("Param/Value/FD0D998F"));
lv_msg = (lv_msg + StringExternal("Param/Value/2A231D13"));
lv_msg = (lv_msg + IntToText(PlayerGetPropertyInt(lv_owner, c_playerPropMinerals)) + StringExternal("Param/Value/BE10BB4A"));
lv_msg = (lv_msg + StringExternal("Param/Value/562831B2"));
lv_msg = (lv_msg + IntToText(PlayerGetPropertyInt(lv_owner, c_playerPropVespene)) + StringExternal("Param/Value/156249F0"));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:286
lv_msg = (lv_msg + IntToText(PlayerGetPropertyInt(lv_owner, c_playerPropMinerals)) + StringExternal("Param/Value/BE10BB4A"));
lv_msg = (lv_msg + StringExternal("Param/Value/562831B2"));
lv_msg = (lv_msg + IntToText(PlayerGetPropertyInt(lv_owner, c_playerPropVespene)) + StringExternal("Param/Value/156249F0"));
lv_msg = (lv_msg + StringExternal("Param/Value/3F7BDBA8"));
lv_msg = (lv_msg + IntToText(PlayerGetPropertyInt(lv_owner, c_playerPropSuppliesUsed)) + StringToText(""));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:288
lv_msg = (lv_msg + IntToText(PlayerGetPropertyInt(lv_owner, c_playerPropVespene)) + StringExternal("Param/Value/156249F0"));
lv_msg = (lv_msg + StringExternal("Param/Value/3F7BDBA8"));
lv_msg = (lv_msg + IntToText(PlayerGetPropertyInt(lv_owner, c_playerPropSuppliesUsed)) + StringToText(""));
lv_msg = (lv_msg + StringExternal("Param/Value/36896677"));
lv_msg = (lv_msg + IntToText(MinI(PlayerGetPropertyInt(lv_owner, c_playerPropSuppliesMade), PlayerGetPropertyInt(lv_owner, c_playerPropSuppliesLimit))) + StringExternal("Param/Value/BEC03128"));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:290
lv_msg = (lv_msg + IntToText(PlayerGetPropertyInt(lv_owner, c_playerPropSuppliesUsed)) + StringToText(""));
lv_msg = (lv_msg + StringExternal("Param/Value/36896677"));
lv_msg = (lv_msg + IntToText(MinI(PlayerGetPropertyInt(lv_owner, c_playerPropSuppliesMade), PlayerGetPropertyInt(lv_owner, c_playerPropSuppliesLimit))) + StringExternal("Param/Value/BEC03128"));
lv_msg = (lv_msg + StringExternal("Param/Value/9B853FD2"));
lv_msg = (lv_msg + UnitTypeGetName(UnitGetType(lp_u)));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:290
lv_msg = (lv_msg + IntToText(PlayerGetPropertyInt(lv_owner, c_playerPropSuppliesUsed)) + StringToText(""));
lv_msg = (lv_msg + StringExternal("Param/Value/36896677"));
lv_msg = (lv_msg + IntToText(MinI(PlayerGetPropertyInt(lv_owner, c_playerPropSuppliesMade), PlayerGetPropertyInt(lv_owner, c_playerPropSuppliesLimit))) + StringExternal("Param/Value/BEC03128"));
lv_msg = (lv_msg + StringExternal("Param/Value/9B853FD2"));
lv_msg = (lv_msg + UnitTypeGetName(UnitGetType(lp_u)));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:4074
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:4102
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:813
lv_number += TechTreeUnitCount(gv_p07_ZERG_INFESTED, "InfestedCivilian", c_techCountQueuedOrBetter);
lv_number += TechTreeUnitCount(gv_p07_ZERG_INFESTED, "InfestedTerranCampaign", c_techCountQueuedOrBetter);
if ((lv_number <= PlayerGetPropertyInt(gv_p07_ZERG_INFESTED, c_playerPropSuppliesLimit))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:3266
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:3296
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:4880
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:4909
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1360
BoardItemSetText(gv_merc_Contract_Price_Board, 1, c_boardRowHeader, (StringExternal("Param/Value/B4F093E9") + IntToText(gv_mERC_CONTRACT_PRICE) + StringExternal("Param/Value/7B4624DB")));
BoardItemSetProgressShow(gv_merc_Contract_Price_Board, 1, 2, true);
BoardItemSetText(gv_merc_Contract_Price_Board, 1, 1, (StringExternal("Param/Value/DB71EC73") + IntToText(PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals))));
BoardItemSetTextColor(gv_merc_Contract_Price_Board, 1, 1, Color(0.00, 100.00, 100.00));
BoardItemSetFontSize(gv_merc_Contract_Price_Board, 1, 1, 18);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1371
BoardItemSetProgressRange(gv_merc_Contract_Price_Board, 1, 4, 0.0, IntToFixed(gv_mERC_CONTRACT_PRICE));
BoardItemSetProgressColor(gv_merc_Contract_Price_Board, 1, 4, Color(100.00, 0.00, 0.00), 1);
BoardItemSetProgressValue(gv_merc_Contract_Price_Board, 1, 2, IntToFixed(PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)));
BoardItemSetProgressValue(gv_merc_Contract_Price_Board, 1, 4, IntToFixed(gv_oRLANS_MINERAL_COUNT));
BoardItemSetIcon(gv_merc_Contract_Price_Board, 1, 2, "Assets\\Textures\\icon-mineral-terran.dds", false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1407
}
BoardItemSetProgressValue(gv_merc_Contract_Price_Board, 1, 2, IntToFixed(PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)));
BoardItemSetProgressValue(gv_merc_Contract_Price_Board, 1, 4, IntToFixed(gv_oRLANS_MINERAL_COUNT));
BoardItemSetText(gv_merc_Contract_Price_Board, 1, 1, (StringExternal("Param/Value/BC8609EA") + IntToText(PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals))));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1409
BoardItemSetProgressValue(gv_merc_Contract_Price_Board, 1, 2, IntToFixed(PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)));
BoardItemSetProgressValue(gv_merc_Contract_Price_Board, 1, 4, IntToFixed(gv_oRLANS_MINERAL_COUNT));
BoardItemSetText(gv_merc_Contract_Price_Board, 1, 1, (StringExternal("Param/Value/BC8609EA") + IntToText(PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals))));
BoardItemSetText(gv_merc_Contract_Price_Board, 1, 3, (StringExternal("Param/Value/92B49FB8") + IntToText(gv_oRLANS_MINERAL_COUNT)));
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:1439
}
if (!((PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals) >= gv_mERC_CONTRACT_PRICE))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:3606
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:3634
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:4104
}
if (!((IntToFixed(PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)) >= (IntToFixed(gv_mERC_CONTRACT_PRICE) / 2.0)))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:4150
}
if (!((IntToFixed(PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)) >= (IntToFixed(gv_mERC_CONTRACT_PRICE) - 1000.0)))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:1950
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:1982
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:4400
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:4431
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:956
}
if (!((PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropSuppliesUsed) >= 55))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:1002
}
if (!((PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropSuppliesUsed) >= PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropSuppliesMade)))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:1002
}
if (!((PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropSuppliesUsed) >= PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropSuppliesMade)))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:1018
TriggerEnable(TriggerGetCurrent(), false);
Wait(60.0, c_timeGame);
if ((PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropSuppliesUsed) == PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropSuppliesMade)) && (((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 0) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 1)) || ((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 1) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 0)))) {
TriggerExecute(gt_SupplySafetyCreateDrop, true, false);
TriggerEnable(gt_SupplySafetyTXT, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:1018
TriggerEnable(TriggerGetCurrent(), false);
Wait(60.0, c_timeGame);
if ((PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropSuppliesUsed) == PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropSuppliesMade)) && (((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 0) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 1)) || ((TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepot", c_techCountQueuedOrBetter) <= 1) && (TechTreeUnitCount(gv_pLAYER_01_USER, "SupplyDepotLowered", c_techCountQueuedOrBetter) <= 0)))) {
TriggerExecute(gt_SupplySafetyCreateDrop, true, false);
TriggerEnable(gt_SupplySafetyTXT, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:1201
}
if (!((PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropMinerals) < 50))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:3702
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:3730
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:3936
}
if (!((PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropVespene) >= 25))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:4074
}
if (!((PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropSuppliesUsed) >= PlayerGetPropertyInt(gv_pLAYER_01_USER, c_playerPropSuppliesMade)))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:3302
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:3331
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:8749
}
if ((PlayerGetPropertyInt(1, c_playerPropResearchPoints) > 0)) {
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:907
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:935
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:1339
BoardItemSetText(gv_mineralBoard, c_boardColGroups, 1, StringExternal("Param/Value/CE8A3BEC"));
BoardItemSetText(gv_mineralBoard, 1, 1, StringExternal("Param/Value/480399D2"));
BoardItemSetText(gv_mineralBoard, 2, 1, IntToText(PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)));
BoardItemSetText(gv_mineralBoard, 3, 1, (StringExternal("Param/Value/1ED6C969") + IntToText(gv_objectiveMineralsQuota)));
BoardItemSetIcon(gv_mineralBoard, 3, 1, "Assets\\Textures\\icon-highyieldmineral-terran.dds", false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:1361
}
if ((PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals) >= gv_objectiveMineralsQuota)) {
BoardItemSetText(gv_mineralBoard, 2, 1, IntToText(gv_objectiveMineralsQuota));
BoardItemSetText(gv_mineralBoard, 3, 1, (StringExternal("Param/Value/7290E156") + IntToText(gv_objectiveMineralsQuota)));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:1366
}
else {
BoardItemSetText(gv_mineralBoard, 2, 1, IntToText(PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)));
BoardItemSetText(gv_mineralBoard, 3, 1, (StringExternal("Param/Value/9E245720") + IntToText(gv_objectiveMineralsQuota)));
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:3977
}
if (!((PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals) >= 4000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:4025
}
if (!((PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals) >= 6500))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:4319
}
if (!((PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals) >= gv_objectiveMineralsQuota))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:3351
}
if ((PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals) < 1000)) {
PlayerModifyPropertyInt(EventPlayer(), c_playerPropMinerals, c_playerPropOperSetTo, 1000);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:3376
}
if ((PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene) < 1000)) {
PlayerModifyPropertyInt(EventPlayer(), c_playerPropVespene, c_playerPropOperSetTo, 1000);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:3989
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:4022
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:6815
TriggerExecute(gt_ObjectiveCollection01CreateQ, true, false);
gv_objectiveCollection01Number = PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals);
ObjectiveSetName(gv_objectiveCollection01, (StringExternal("Param/Value/5EAC454D") + IntToText(gv_objectiveCollection01Number) + StringExternal("Param/Value/CB43F05C") + (IntToText(gv_objectiveCollection01Total)) + StringExternal("Param/Value/C982D8F6")));
if ((gv_objectiveCollection01Number >= 150)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:6820
TriggerEnable(TriggerGetCurrent(), false);
PlayerModifyPropertyInt(gv_p01_USER, c_playerPropMinerals, c_playerPropOperSetTo, 150);
gv_objectiveCollection01Number = PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals);
ObjectiveSetName(gv_objectiveCollection01, (StringExternal("Param/Value/3027800F") + IntToText(gv_objectiveCollection01Number) + StringExternal("Param/Value/3DE9CA26") + (IntToText(gv_objectiveCollection01Total)) + StringExternal("Param/Value/F43C1E41")));
TriggerExecute(gt_ObjectiveCollection01Complete, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:7787
TriggerExecute(gt__22Collection03StopMouse, true, false);
TriggerExecute(gt_ObjectiveCollection03CreateQ, true, false);
gv_objectiveCollection03Number = PlayerGetPropertyInt(gv_p01_USER, c_playerPropVespene);
ObjectiveSetName(gv_objectiveCollection03, (StringExternal("Param/Value/23DF8C4F") + IntToText(gv_objectiveCollection03Number) + StringExternal("Param/Value/D25D336F") + (IntToText(gv_objectiveCollection03Total)) + StringExternal("Param/Value/981FB8B2")));
if ((gv_objectiveCollection03Number >= 40)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:7792
TriggerEnable(TriggerGetCurrent(), false);
PlayerModifyPropertyInt(gv_p01_USER, c_playerPropVespene, c_playerPropOperSetTo, 40);
gv_objectiveCollection03Number = PlayerGetPropertyInt(gv_p01_USER, c_playerPropVespene);
ObjectiveSetName(gv_objectiveCollection03, (StringExternal("Param/Value/C64891F2") + IntToText(gv_objectiveCollection03Number) + StringExternal("Param/Value/2EA0CF57") + (IntToText(gv_objectiveCollection03Total)) + StringExternal("Param/Value/35DD131B")));
TriggerExecute(gt_ObjectiveCollection03Complete, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:3531
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:3566
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:3847
}
if ((PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals) < 3000)) {
PlayerModifyPropertyInt(EventPlayer(), c_playerPropMinerals, c_playerPropOperSetTo, 3000);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:3873
}
if ((PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene) < 3000)) {
PlayerModifyPropertyInt(EventPlayer(), c_playerPropVespene, c_playerPropOperSetTo, 3000);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:4841
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(gv_p05_ZERG_BASE, c_playerPropMinerals) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:4868
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:1890
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:1919
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:4139
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:4167
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:5017
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:5047
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:4714
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:4745
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:526
// Implementation
if (((UnitIsAlive(lp_nydus) == false) || (gv_gameOver == true) || (lp_qty <= 0) || (lp_type == null) || (PlayerGetPropertyInt(gv_pLAYER_ZERG_MAIN, c_playerPropSuppliesUsed) >= 300))) {
return ;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:2467
lv_p = PlayerGroupNextPlayer(autoD0EC159D_g, lv_p);
if (lv_p < 0) { break; }
if ((PlayerGetPropertyInt(lv_p, c_playerPropMinerals) < 3000)) {
PlayerModifyPropertyInt(lv_p, c_playerPropMinerals, c_playerPropOperAdd, 3173);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:2471
}
if ((PlayerGetPropertyInt(lv_p, c_playerPropVespene) < 3000)) {
PlayerModifyPropertyInt(lv_p, c_playerPropVespene, c_playerPropOperAdd, 3627);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:1226
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:1255
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:2529
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(gv_p1_USER, c_playerPropMineralsCollected) >= gv_mineralsCollectedToActivateMidCin))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:2635
}
if (!((PlayerGetPropertyInt(gv_p1_USER, c_playerPropMineralsCollected) >= gv_mineralsCollectedToActivateStalker))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:2746
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:2775
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2map — MapScript.galaxy:3538
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson01.sc2map — MapScript.galaxy:3566
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2map — MapScript.galaxy:284
lv_msg = (lv_msg + StringExternal("Param/Value/0D9A275B") + IntToText(lv_owner) + StringExternal("Param/Value/FD0D998F"));
lv_msg = (lv_msg + StringExternal("Param/Value/2A231D13"));
lv_msg = (lv_msg + IntToText(PlayerGetPropertyInt(lv_owner, c_playerPropMinerals)) + StringExternal("Param/Value/BE10BB4A"));
lv_msg = (lv_msg + StringExternal("Param/Value/562831B2"));
lv_msg = (lv_msg + IntToText(PlayerGetPropertyInt(lv_owner, c_playerPropVespene)) + StringExternal("Param/Value/156249F0"));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2map — MapScript.galaxy:286
lv_msg = (lv_msg + IntToText(PlayerGetPropertyInt(lv_owner, c_playerPropMinerals)) + StringExternal("Param/Value/BE10BB4A"));
lv_msg = (lv_msg + StringExternal("Param/Value/562831B2"));
lv_msg = (lv_msg + IntToText(PlayerGetPropertyInt(lv_owner, c_playerPropVespene)) + StringExternal("Param/Value/156249F0"));
lv_msg = (lv_msg + StringExternal("Param/Value/3F7BDBA8"));
lv_msg = (lv_msg + IntToText(PlayerGetPropertyInt(lv_owner, c_playerPropSuppliesUsed)) + StringToText(""));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2map — MapScript.galaxy:288
lv_msg = (lv_msg + IntToText(PlayerGetPropertyInt(lv_owner, c_playerPropVespene)) + StringExternal("Param/Value/156249F0"));
lv_msg = (lv_msg + StringExternal("Param/Value/3F7BDBA8"));
lv_msg = (lv_msg + IntToText(PlayerGetPropertyInt(lv_owner, c_playerPropSuppliesUsed)) + StringToText(""));
lv_msg = (lv_msg + StringExternal("Param/Value/36896677"));
lv_msg = (lv_msg + IntToText(MinI(PlayerGetPropertyInt(lv_owner, c_playerPropSuppliesMade), PlayerGetPropertyInt(lv_owner, c_playerPropSuppliesLimit))) + StringExternal("Param/Value/BEC03128"));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2map — MapScript.galaxy:290
lv_msg = (lv_msg + IntToText(PlayerGetPropertyInt(lv_owner, c_playerPropSuppliesUsed)) + StringToText(""));
lv_msg = (lv_msg + StringExternal("Param/Value/36896677"));
lv_msg = (lv_msg + IntToText(MinI(PlayerGetPropertyInt(lv_owner, c_playerPropSuppliesMade), PlayerGetPropertyInt(lv_owner, c_playerPropSuppliesLimit))) + StringExternal("Param/Value/BEC03128"));
lv_msg = (lv_msg + StringExternal("Param/Value/9B853FD2"));
lv_msg = (lv_msg + UnitTypeGetName(UnitGetType(lp_u)));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2map — MapScript.galaxy:290
lv_msg = (lv_msg + IntToText(PlayerGetPropertyInt(lv_owner, c_playerPropSuppliesUsed)) + StringToText(""));
lv_msg = (lv_msg + StringExternal("Param/Value/36896677"));
lv_msg = (lv_msg + IntToText(MinI(PlayerGetPropertyInt(lv_owner, c_playerPropSuppliesMade), PlayerGetPropertyInt(lv_owner, c_playerPropSuppliesLimit))) + StringExternal("Param/Value/BEC03128"));
lv_msg = (lv_msg + StringExternal("Param/Value/9B853FD2"));
lv_msg = (lv_msg + UnitTypeGetName(UnitGetType(lp_u)));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03a.sc2map — MapScript.galaxy:4074
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03a.sc2map — MapScript.galaxy:4102
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03b.sc2map — MapScript.galaxy:813
lv_number += TechTreeUnitCount(gv_p07_ZERG_INFESTED, "InfestedCivilian", c_techCountQueuedOrBetter);
lv_number += TechTreeUnitCount(gv_p07_ZERG_INFESTED, "InfestedTerranCampaign", c_techCountQueuedOrBetter);
if ((lv_number <= PlayerGetPropertyInt(gv_p07_ZERG_INFESTED, c_playerPropSuppliesLimit))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03b.sc2map — MapScript.galaxy:3266
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03b.sc2map — MapScript.galaxy:3296
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner01.sc2map — MapScript.galaxy:4880
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner01.sc2map — MapScript.galaxy:4909
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2map — MapScript.galaxy:1360
BoardItemSetText(gv_merc_Contract_Price_Board, 1, c_boardRowHeader, (StringExternal("Param/Value/B4F093E9") + IntToText(gv_mERC_CONTRACT_PRICE) + StringExternal("Param/Value/7B4624DB")));
BoardItemSetProgressShow(gv_merc_Contract_Price_Board, 1, 2, true);
BoardItemSetText(gv_merc_Contract_Price_Board, 1, 1, (StringExternal("Param/Value/DB71EC73") + IntToText(PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals))));
BoardItemSetTextColor(gv_merc_Contract_Price_Board, 1, 1, Color(0.00, 100.00, 100.00));
BoardItemSetFontSize(gv_merc_Contract_Price_Board, 1, 1, 18);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2map — MapScript.galaxy:1371
BoardItemSetProgressRange(gv_merc_Contract_Price_Board, 1, 4, 0.0, IntToFixed(gv_mERC_CONTRACT_PRICE));
BoardItemSetProgressColor(gv_merc_Contract_Price_Board, 1, 4, Color(100.00, 0.00, 0.00), 1);
BoardItemSetProgressValue(gv_merc_Contract_Price_Board, 1, 2, IntToFixed(PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)));
BoardItemSetProgressValue(gv_merc_Contract_Price_Board, 1, 4, IntToFixed(gv_oRLANS_MINERAL_COUNT));
BoardItemSetIcon(gv_merc_Contract_Price_Board, 1, 2, "Assets\\Textures\\icon-mineral-terran.dds", false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2map — MapScript.galaxy:1407
}
BoardItemSetProgressValue(gv_merc_Contract_Price_Board, 1, 2, IntToFixed(PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)));
BoardItemSetProgressValue(gv_merc_Contract_Price_Board, 1, 4, IntToFixed(gv_oRLANS_MINERAL_COUNT));
BoardItemSetText(gv_merc_Contract_Price_Board, 1, 1, (StringExternal("Param/Value/BC8609EA") + IntToText(PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals))));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2map — MapScript.galaxy:1409
BoardItemSetProgressValue(gv_merc_Contract_Price_Board, 1, 2, IntToFixed(PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals)));
BoardItemSetProgressValue(gv_merc_Contract_Price_Board, 1, 4, IntToFixed(gv_oRLANS_MINERAL_COUNT));
BoardItemSetText(gv_merc_Contract_Price_Board, 1, 1, (StringExternal("Param/Value/BC8609EA") + IntToText(PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals))));
BoardItemSetText(gv_merc_Contract_Price_Board, 1, 3, (StringExternal("Param/Value/92B49FB8") + IntToText(gv_oRLANS_MINERAL_COUNT)));
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2map — MapScript.galaxy:1439
}
if (!((PlayerGetPropertyInt(gv_p01_USER, c_playerPropMinerals) >= gv_mERC_CONTRACT_PRICE))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2map — MapScript.galaxy:3606
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropMinerals) < 1000))) {
return false;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2map — MapScript.galaxy:3634
// Conditions
if (testConds) {
if (!((PlayerGetPropertyInt(EventPlayer(), c_playerPropVespene) < 1000))) {
return false;
}