# 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

// 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)
// L856
PlayerModifyPropertyInt(gv_p07_HORNERBASE, c_playerPropMinerals, c_playerPropOperSetTo, 5000)
// L857
PlayerModifyPropertyInt(gv_p07_HORNERBASE, c_playerPropVespene, c_playerPropOperSetTo, 5000)
// L1046
PlayerModifyPropertyInt(gv_p02_DOMINION, c_playerPropHandicap, c_playerPropOperSetTo, 50)
// L1047
PlayerModifyPropertyInt(gv_p05_ZERG_LAB_SPECIMENS, c_playerPropHandicap, c_playerPropOperSetTo, 50)
// L1048
PlayerModifyPropertyInt(gv_p06_PROTOSS_LAB_SPECIMENS, c_playerPropHandicap, c_playerPropOperSetTo, 50)
// L628
PlayerModifyPropertyInt(gv_p2_DOMINION_RED, c_playerPropHandicap, c_playerPropOperSetTo, 50)
// L407
PlayerModifyPropertyInt(gv_pLAYER_01_USER, c_playerPropMinerals, c_playerPropOperSetTo, libNtve_gf_DifficultyValueInt(200, 100, 100, 100))
// L408
PlayerModifyPropertyInt(gv_pLAYER_02_DOMINION, c_playerPropMinerals, c_playerPropOperSetTo, 5000)
// L409
PlayerModifyPropertyInt(gv_pLAYER_02_DOMINION, c_playerPropVespene, c_playerPropOperSetTo, 5000)
// L410
PlayerModifyPropertyInt(gv_pLAYER_04_REBELS, c_playerPropMinerals, c_playerPropOperSetTo, 5000)
// L411
PlayerModifyPropertyInt(gv_pLAYER_04_REBELS, c_playerPropVespene, c_playerPropOperSetTo, 5000)
// L665
PlayerModifyPropertyInt(gv_pLAYER_02_DOMINION, c_playerPropHandicap, c_playerPropOperSetTo, 50)
// L666
PlayerModifyPropertyInt(gv_pLAYER_05_PATROL, c_playerPropHandicap, c_playerPropOperSetTo, 50)
// L3712
PlayerModifyPropertyInt(EventPlayer(), c_playerPropMinerals, c_playerPropOperSetTo, 2000)
// L3740
PlayerModifyPropertyInt(EventPlayer(), c_playerPropVespene, c_playerPropOperSetTo, 2000)
// L582
PlayerModifyPropertyInt(gv_pLAYER01_USER, c_playerPropMinerals, c_playerPropOperSetTo, 400)
// L583
PlayerModifyPropertyInt(gv_pLAYER01_USER, c_playerPropVespene, c_playerPropOperSetTo, 100)
// L584
PlayerModifyPropertyInt(gv_pLAYER02_ZERG, c_playerPropMinerals, c_playerPropOperSetTo, 5000)
// L585
PlayerModifyPropertyInt(gv_pLAYER02_ZERG, c_playerPropVespene, c_playerPropOperSetTo, 5000)
// L586
PlayerModifyPropertyInt(gv_pLAYER03_ZERG, c_playerPropMinerals, c_playerPropOperSetTo, 5000)
// L587
PlayerModifyPropertyInt(gv_pLAYER03_ZERG, c_playerPropVespene, c_playerPropOperSetTo, 5000)
// L588
PlayerModifyPropertyInt(gv_pLAYER04_ZERG, c_playerPropMinerals, c_playerPropOperSetTo, 5000)
// L589
PlayerModifyPropertyInt(gv_pLAYER04_ZERG, c_playerPropVespene, c_playerPropOperSetTo, 5000)
// L590
PlayerModifyPropertyInt(gv_pLAYER05_ZERG_NOAI, c_playerPropMinerals, c_playerPropOperSetTo, 5000)
// L591
PlayerModifyPropertyInt(gv_pLAYER05_ZERG_NOAI, c_playerPropVespene, c_playerPropOperSetTo, 5000)
// L353
PlayerModifyPropertyInt(gv_p01_USER, c_playerPropMinerals, c_playerPropOperSetTo, 300)