# Modify Player Property (Integer)

Grammar — Modify player p prop: operation|Add/Subtract/Set To val
FlagsNative | Action

Modifies player properties such as resources as an integer.

# Arguments

Returns — void

native void PlayerModifyPropertyInt(
	int inPlayer,
	int inProp,
	int inOper,
	int inVal,
);

Category: Player / Player Settings

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L187
PlayerModifyPropertyInt(gv_pLAYER_USER, c_playerPropMinerals, c_playerPropOperSetTo, 1600)
// L188
PlayerModifyPropertyInt(gv_pLAYER_USER, c_playerPropVespene, c_playerPropOperSetTo, 1000)
// L189
PlayerModifyPropertyInt(gv_pLAYER_COMPUTER1, c_playerPropMinerals, c_playerPropOperSetTo, 1600)
// L190
PlayerModifyPropertyInt(gv_pLAYER_COMPUTER1, c_playerPropVespene, c_playerPropOperSetTo, 1000)
// L623
PlayerModifyPropertyInt(gv_pLAYER_USER, c_playerPropMinerals, c_playerPropOperSetTo, 4200)
// L624
PlayerModifyPropertyInt(gv_pLAYER_USER, c_playerPropVespene, c_playerPropOperSetTo, 3000)
// L212
PlayerModifyPropertyInt(gv_pLAYER_USER, c_playerPropMinerals, c_playerPropOperSetTo, 50)
// L213
PlayerModifyPropertyInt(gv_pLAYER_USER, c_playerPropVespene, c_playerPropOperSetTo, 0)
// L521
PlayerModifyPropertyInt(gv_pLAYER_USER, c_playerPropMinerals, c_playerPropOperSetTo, 50)
// L522
PlayerModifyPropertyInt(gv_pLAYER_USER, c_playerPropVespene, c_playerPropOperSetTo, 0)
// L565
PlayerModifyPropertyInt(gv_pLAYER_USER, c_playerPropMinerals, c_playerPropOperSetTo, 0)
// L566
PlayerModifyPropertyInt(gv_pLAYER_USER, c_playerPropVespene, c_playerPropOperSetTo, 0)
// L670
PlayerModifyPropertyInt(gv_pLAYER_USER, c_playerPropMinerals, c_playerPropOperSetTo, 50)
// L671
PlayerModifyPropertyInt(gv_pLAYER_USER, c_playerPropVespene, c_playerPropOperSetTo, 0)
// L1748
PlayerModifyPropertyInt(gv_pLAYER_USER, c_playerPropMinerals, c_playerPropOperSetTo, 50)
// L1749
PlayerModifyPropertyInt(gv_pLAYER_USER, c_playerPropVespene, c_playerPropOperSetTo, 0)
// L334
PlayerModifyPropertyInt(gv_p3_ENEMY_PROTOSS, c_playerPropMinerals, c_playerPropOperSetTo, 100000)
// L493
PlayerModifyPropertyInt(gv_pLAYER_USER, c_playerPropMinerals, c_playerPropOperSetTo, 215)
// L1231
PlayerModifyPropertyInt(gv_p2_ENEMY_ZERG, c_playerPropMinerals, c_playerPropOperSetTo, 100000)
// L1232
PlayerModifyPropertyInt(gv_p2_ENEMY_ZERG, c_playerPropVespene, c_playerPropOperSetTo, 100000)
// L1233
PlayerModifyPropertyInt(gv_p3_ENEMY_PROTOSS, c_playerPropMinerals, c_playerPropOperSetTo, 100000)
// L1234
PlayerModifyPropertyInt(gv_p3_ENEMY_PROTOSS, c_playerPropVespene, c_playerPropOperSetTo, 100000)
// L1328
PlayerModifyPropertyInt(gv_pLAYER_USER, c_playerPropMinerals, c_playerPropOperSetTo, 185)
// L1401
PlayerModifyPropertyInt(gv_pLAYER_USER, c_playerPropVespene, c_playerPropOperSetTo, 0)
// L1415
PlayerModifyPropertyInt(gv_p3_ENEMY_PROTOSS, c_playerPropMinerals, c_playerPropOperSetTo, 100000)
// L2181
PlayerModifyPropertyInt(gv_pLAYER_USER, c_playerPropVespene, c_playerPropOperSetTo, 0)
// L580
PlayerModifyPropertyInt(gv_p1_USER, c_playerPropMinerals, c_playerPropOperSetTo, 200)
// L581
PlayerModifyPropertyInt(gv_p1_USER, c_playerPropVespene, c_playerPropOperSetTo, 50)
// L582
PlayerModifyPropertyInt(gv_p2_ZERG_ORANGE_NW, c_playerPropMinerals, c_playerPropOperSetTo, 5000)
// L583
PlayerModifyPropertyInt(gv_p2_ZERG_ORANGE_NW, c_playerPropVespene, c_playerPropOperSetTo, 5000)
// L584
PlayerModifyPropertyInt(gv_p3_ZERG_LIGHTBLUE_SE, c_playerPropMinerals, c_playerPropOperSetTo, 5000)
// L585
PlayerModifyPropertyInt(gv_p3_ZERG_LIGHTBLUE_SE, c_playerPropVespene, c_playerPropOperSetTo, 5000)
// L586
PlayerModifyPropertyInt(gv_p4_COLONISTS, c_playerPropMinerals, c_playerPropOperSetTo, 0)
// L587
PlayerModifyPropertyInt(gv_p4_COLONISTS, c_playerPropVespene, c_playerPropOperSetTo, 0)
// L815
PlayerModifyPropertyInt(auto395B6C3C_var, c_playerPropHandicap, c_playerPropOperSetTo, 50)
// L3548
PlayerModifyPropertyInt(EventPlayer(), c_playerPropMinerals, c_playerPropOperSetTo, 2000)
// L553
PlayerModifyPropertyInt(gv_pLAYER_01_USER, c_playerPropMinerals, c_playerPropOperSetTo, 400)
// L554
PlayerModifyPropertyInt(gv_pLAYER_01_USER, c_playerPropVespene, c_playerPropOperSetTo, 100)
// L705
PlayerModifyPropertyInt(gv_pLAYER_02_REFUGEES, c_playerPropHandicap, c_playerPropOperSetTo, 50)
// L706
PlayerModifyPropertyInt(gv_pLAYER_03_INFESTED_REFUGEES, c_playerPropHandicap, c_playerPropOperSetTo, 50)
// L707
PlayerModifyPropertyInt(gv_pLAYER_04_INFESTEDREFUGEES, c_playerPropHandicap, c_playerPropOperSetTo, 50)
// L708
PlayerModifyPropertyInt(gv_pLAYER_06_INFESTORS, c_playerPropHandicap, c_playerPropOperSetTo, 50)
// L521
PlayerModifyPropertyInt(gv_pLAYER01_USER, c_playerPropMinerals, c_playerPropOperSetTo, 400)
// L522
PlayerModifyPropertyInt(gv_pLAYER01_USER, c_playerPropVespene, c_playerPropOperSetTo, 350)
// L523
PlayerModifyPropertyInt(gv_pLAYER02_PROTOSS, c_playerPropMinerals, c_playerPropOperSetTo, 5000)
// L524
PlayerModifyPropertyInt(gv_pLAYER02_PROTOSS, c_playerPropVespene, c_playerPropOperSetTo, 5000)
// L525
PlayerModifyPropertyInt(gv_pLAYER04_PURIFIER, c_playerPropMinerals, c_playerPropOperSetTo, 5000)
// L526
PlayerModifyPropertyInt(gv_pLAYER04_PURIFIER, c_playerPropVespene, c_playerPropOperSetTo, 5000)
// L527
PlayerModifyPropertyInt(gv_pLAYER06_TERRORFLEET, c_playerPropMinerals, c_playerPropOperSetTo, 5000)
// L528
PlayerModifyPropertyInt(gv_pLAYER06_TERRORFLEET, c_playerPropVespene, c_playerPropOperSetTo, 5000)
// L848
PlayerModifyPropertyInt(gv_pLAYER02_PROTOSS, c_playerPropHandicap, c_playerPropOperSetTo, 50)
// L849
PlayerModifyPropertyInt(gv_pLAYER04_PURIFIER, c_playerPropHandicap, c_playerPropOperSetTo, 50)
// L978
PlayerModifyPropertyInt(gv_p01_USER, c_playerPropMinerals, c_playerPropOperSetTo, 500)
// L979
PlayerModifyPropertyInt(gv_p01_USER, c_playerPropVespene, c_playerPropOperSetTo, 400)
// L980
PlayerModifyPropertyInt(gv_p02_ZERG_EAST, c_playerPropMinerals, c_playerPropOperSetTo, 5000)
// L981
PlayerModifyPropertyInt(gv_p02_ZERG_EAST, c_playerPropVespene, c_playerPropOperSetTo, 5000)
// L982
PlayerModifyPropertyInt(gv_p03_VIROPHAGE, c_playerPropMinerals, c_playerPropOperSetTo, 5000)
// L983
PlayerModifyPropertyInt(gv_p03_VIROPHAGE, c_playerPropVespene, c_playerPropOperSetTo, 5000)
// L984
PlayerModifyPropertyInt(gv_p04_ZERG_NORTH, c_playerPropMinerals, c_playerPropOperSetTo, 5000)
// L985
PlayerModifyPropertyInt(gv_p04_ZERG_NORTH, c_playerPropVespene, c_playerPropOperSetTo, 5000)
// L986
PlayerModifyPropertyInt(gv_p08_ZERG_SOUTH, c_playerPropMinerals, c_playerPropOperSetTo, 5000)
// L987
PlayerModifyPropertyInt(gv_p08_ZERG_SOUTH, c_playerPropVespene, c_playerPropOperSetTo, 5000)
// L696
PlayerModifyPropertyInt(gv_pLAYER_01_USER, c_playerPropMinerals, c_playerPropOperSetTo, 200)
// L697
PlayerModifyPropertyInt(gv_pLAYER_01_USER, c_playerPropVespene, c_playerPropOperSetTo, 200)
// L698
PlayerModifyPropertyInt(gv_pLAYER_02_DOMINION, c_playerPropMinerals, c_playerPropOperSetTo, 5000)
// L699
PlayerModifyPropertyInt(gv_pLAYER_02_DOMINION, c_playerPropVespene, c_playerPropOperSetTo, 5000)
// L700
PlayerModifyPropertyInt(gv_pLAYER_03_DOMINION, c_playerPropMinerals, c_playerPropOperSetTo, 5000)
// L701
PlayerModifyPropertyInt(gv_pLAYER_03_DOMINION, c_playerPropVespene, c_playerPropOperSetTo, 5000)
// L702
PlayerModifyPropertyInt(gv_pLAYER_04_DOMINION, c_playerPropMinerals, c_playerPropOperSetTo, 5000)
// L703
PlayerModifyPropertyInt(gv_pLAYER_04_DOMINION, c_playerPropVespene, c_playerPropOperSetTo, 5000)
// L861
PlayerModifyPropertyInt(gv_pLAYER_02_DOMINION, c_playerPropHandicap, c_playerPropOperSetTo, 50)
// L862
PlayerModifyPropertyInt(gv_pLAYER_03_DOMINION, c_playerPropHandicap, c_playerPropOperSetTo, 50)
// L488
PlayerModifyPropertyInt(gv_p01_USER, c_playerPropMinerals, c_playerPropOperSetTo, 400)
// L489
PlayerModifyPropertyInt(gv_p01_USER, c_playerPropVespene, c_playerPropOperSetTo, 200)
// L490
PlayerModifyPropertyInt(gv_p02_ORLAN_ENEMY, c_playerPropMinerals, c_playerPropOperSetTo, 5000)
// L491
PlayerModifyPropertyInt(gv_p02_ORLAN_ENEMY, c_playerPropVespene, c_playerPropOperSetTo, 5000)
// L492
PlayerModifyPropertyInt(gv_p03_MIRA_HAN, c_playerPropMinerals, c_playerPropOperSetTo, 5000)
// L493
PlayerModifyPropertyInt(gv_p03_MIRA_HAN, c_playerPropVespene, c_playerPropOperSetTo, 5000)
// L494
PlayerModifyPropertyInt(gv_p04_DOMINION, c_playerPropMinerals, c_playerPropOperSetTo, 5000)
// L495
PlayerModifyPropertyInt(gv_p04_DOMINION, c_playerPropVespene, c_playerPropOperSetTo, 5000)
// L783
PlayerModifyPropertyInt(gv_p02_ORLAN_ENEMY, c_playerPropHandicap, c_playerPropOperSetTo, 50)
// L784
PlayerModifyPropertyInt(gv_p04_DOMINION, c_playerPropHandicap, c_playerPropOperSetTo, 50)
// L389
PlayerModifyPropertyInt(gv_p01_USER, c_playerPropMinerals, c_playerPropOperSetTo, 300)
// L390
PlayerModifyPropertyInt(gv_p01_USER, c_playerPropVespene, c_playerPropOperSetTo, 400)
// L396
PlayerModifyPropertyInt(auto317FADF5_var, c_playerPropMinerals, c_playerPropOperSetTo, 5000)
// L397
PlayerModifyPropertyInt(auto317FADF5_var, c_playerPropVespene, c_playerPropOperSetTo, 5000)
// L587
PlayerModifyPropertyInt(gv_p03_DOMINION_WAREHOUSE, c_playerPropHandicap, c_playerPropOperSetTo, 50)
// L588
PlayerModifyPropertyInt(gv_p04_DOMINION_INFANTRY_A, c_playerPropHandicap, c_playerPropOperSetTo, 50)
// L589
PlayerModifyPropertyInt(gv_p05_DOMINION_FACTORY, c_playerPropHandicap, c_playerPropOperSetTo, 50)
// L590
PlayerModifyPropertyInt(gv_p06_DOMINION_STARPORT_A, c_playerPropHandicap, c_playerPropOperSetTo, 50)
// L591
PlayerModifyPropertyInt(gv_p07_DOMINION_STARPORT_B, c_playerPropHandicap, c_playerPropOperSetTo, 50)
// L592
PlayerModifyPropertyInt(gv_p08_DOMINION_INFANTRY_B, c_playerPropHandicap, c_playerPropOperSetTo, 50)
// L848
PlayerModifyPropertyInt(gv_p02_DOMINION_INFANTRY, c_playerPropMinerals, c_playerPropOperSetTo, 5000)
// L849
PlayerModifyPropertyInt(gv_p02_DOMINION_INFANTRY, c_playerPropVespene, c_playerPropOperSetTo, 5000)
// L850
PlayerModifyPropertyInt(gv_p03_DOMINION_SIEGE, c_playerPropMinerals, c_playerPropOperSetTo, 5000)
// L851
PlayerModifyPropertyInt(gv_p03_DOMINION_SIEGE, c_playerPropVespene, c_playerPropOperSetTo, 5000)
// L852
PlayerModifyPropertyInt(gv_p04_DOMINION_AIR, c_playerPropMinerals, c_playerPropOperSetTo, 5000)
// L853
PlayerModifyPropertyInt(gv_p04_DOMINION_AIR, c_playerPropVespene, c_playerPropOperSetTo, 5000)
// L854
PlayerModifyPropertyInt(gv_p05_DOMINION_RAIDER, c_playerPropMinerals, c_playerPropOperSetTo, 5000)
// L855
PlayerModifyPropertyInt(gv_p05_DOMINION_RAIDER, c_playerPropVespene, c_playerPropOperSetTo, 5000)