# Award Achievement

Grammar — Unlock the name achievement for player p
FlagsNative | Action | Restricted

This feature only works on Blizzard-signed maps.

# Arguments

  • int — Player
  • string [ gamelink::Achievement ] — Name

Returns — void

native void AchievementAward(int player, string name);

Category: Game / Achievements

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L3342
AchievementAward(1, "LostVikingBronze")
// L3347
AchievementAward(1, "LostVikingSilver")
// L3352
AchievementAward(1, "LostVikingGold")
// L5754
AchievementAward(1, "TStory01_13")
// L5158
AchievementAward(gv_p1_USER, "THanson01_1")
// L5162
AchievementAward(gv_p1_USER, "THanson01_1")
// L5166
AchievementAward(gv_p1_USER, "THanson01_2")
// L5170
AchievementAward(gv_p1_USER, "THanson01_3")
// L5174
AchievementAward(gv_p1_USER, "Anniversary_THanson01")
// L4236
AchievementAward(gv_pLAYER_01_USER, "THanson02_3")
// L4306
AchievementAward(gv_pLAYER_01_USER, "THanson02_1")
// L4310
AchievementAward(gv_pLAYER_01_USER, "THanson02_2")
// L4314
AchievementAward(gv_pLAYER_01_USER, "Anniversary_THanson02")
// L5295
AchievementAward(gv_pLAYER01_USER, "THanson03A_1")
// L5299
AchievementAward(gv_pLAYER01_USER, "THanson03A_2")
// L5303
AchievementAward(gv_pLAYER01_USER, "THanson03A_3")
// L3546
AchievementAward(gv_p01_USER, "THanson03B_1")
// L3550
AchievementAward(gv_p01_USER, "THanson03B_2")
// L3554
AchievementAward(gv_p01_USER, "THanson03B_3")
// L4583
AchievementAward(gv_pLAYER_01_USER, "THorner01_2")
// L4668
AchievementAward(gv_pLAYER_01_USER, "THorner01_2")
// L4738
AchievementAward(gv_pLAYER_01_USER, "THorner01_2")
// L5043
AchievementAward(gv_pLAYER_01_USER, "THorner01_1")
// L5047
AchievementAward(gv_pLAYER_01_USER, "THorner01_3")
// L5051
AchievementAward(gv_pLAYER_01_USER, "Anniversary_THorner01")
// L993
AchievementAward(gv_p01_USER, "THorner02_3")
// L4372
AchievementAward(gv_p01_USER, "THorner02_2")
// L4485
AchievementAward(gv_p01_USER, "Anniversary_THorner02")
// L4516
AchievementAward(gv_p01_USER, "THorner02_1")
// L1873
AchievementAward(gv_p01_USER, "THorner03_2")
// L4465
AchievementAward(gv_p01_USER, "THorner03_1")
// L4469
AchievementAward(gv_p01_USER, "THorner03_3")
// L4475
AchievementAward(gv_p01_USER, "Anniversary_THorner03")
// L4494
AchievementAward(gv_p01_USER, "THorner04_2")
// L4536
AchievementAward(gv_p01_USER, "Anniversary_THorner_04")
// L4597
AchievementAward(gv_p01_USER, "THorner04_1")
// L4601
AchievementAward(gv_p01_USER, "THorner04_3")
// L8016
AchievementAward(gv_p01_USER, "THorner05_2")
// L10254
AchievementAward(gv_p01_USER, "THorner05_1")
// L10826
AchievementAward(gv_p01_USER, "FeatOfStrength_THorner05S")
// L10830
AchievementAward(gv_p01_USER, "THorner05_3")
// L4014
AchievementAward(gv_p1_USER, "Anniversary_TRaynor01")
// L4088
AchievementAward(gv_p1_USER, "TRaynor01_2")
// L4148
AchievementAward(gv_p1_USER, "TRaynor01_1")
// L4152
AchievementAward(gv_p1_USER, "TRaynor01_3")
// L4194
AchievementAward(gv_pLAYER_01_USER, "TRaynor02_2")
// L4296
AchievementAward(gv_pLAYER_01_USER, "TRaynor02_1")
// L4300
AchievementAward(gv_pLAYER_01_USER, "TRaynor02_3")
// L4304
AchievementAward(gv_pLAYER_01_USER, "Anniversary_TRaynor02")
// L4204
AchievementAward(gv_pLAYER01_USER, "TRaynor03_3")
// L4208
AchievementAward(gv_pLAYER01_USER, "Anniversary_TRaynor03")
// L4275
AchievementAward(gv_pLAYER01_USER, "TRaynor03_1")
// L4279
AchievementAward(gv_pLAYER01_USER, "TRaynor03_2")
// L17374
AchievementAward(1, "IhanCrystal")
// L26240
AchievementAward(1, "TStory01_12")
// L26317
AchievementAward(1, "TStory01_11")
// L4255
AchievementAward(gv_p01_USER, "TTosh01_3")
// L4298
AchievementAward(gv_p01_USER, "FeatOfStrength_TTosh01")
// L4358
AchievementAward(gv_p01_USER, "TTosh01_1")
// L4690
AchievementAward(gv_p01_USER, "TTosh01_2")
// L4694
AchievementAward(gv_p01_USER, "Anniversary_TTosh01")
// L3457
AchievementAward(gv_p1_USER, "FeatOfStrength_TTosh02")
// L3538
AchievementAward(gv_p1_USER, "TTosh02_1")
// L3542
AchievementAward(gv_p1_USER, "TTosh02_2")
// L3546
AchievementAward(gv_p1_USER, "TTosh02_3")
// L3550
AchievementAward(gv_p1_USER, "Anniversary_TTosh02")
// L4560
AchievementAward(gv_p1_USER, "TTosh03A_1")
// L4564
AchievementAward(gv_p1_USER, "TTosh03A_2")
// L4568
AchievementAward(gv_p1_USER, "TTosh03A_3")
// L4852
AchievementAward(gv_pLAYER01_USER, "TTosh03B_2")
// L4967
AchievementAward(gv_pLAYER01_USER, "TTosh03B_1")
// L4971
AchievementAward(gv_pLAYER01_USER, "TTosh03B_3")
// L3924
AchievementAward(gv_p1_USER, "TTychus01_1")
// L3928
AchievementAward(gv_p1_USER, "TTychus01_2")
// L3932
AchievementAward(gv_p1_USER, "TTychus01_3")
// L4408
AchievementAward(gv_p1_USER, "Anniversary_TTychus01")
// L4197
AchievementAward(gv_p1_USER, "TTychus02_2")
// L4239
AchievementAward(gv_p1_USER, "TTychus02_3")
// L4438
AchievementAward(gv_p1_USER, "TTychus02_1")
// L4442
AchievementAward(gv_p1_USER, "Anniversary_TTychus02")
// L5459
AchievementAward(gv_p01_USER, "TTychus03_2")
// L5547
AchievementAward(gv_p01_USER, "TTychus03_1")
// L5551
AchievementAward(gv_p01_USER, "Anniversary_TTychus03")
// L5556
AchievementAward(gv_p01_USER, "TTychus03_3")
// L2528
AchievementAward(gv_pLAYER01_USER, "TTychus04_3")
// L2755
AchievementAward(gv_pLAYER01_USER, "TTychus04_1")
// L2759
AchievementAward(gv_pLAYER01_USER, "TTychus04_2")
// L2763
AchievementAward(gv_pLAYER01_USER, "Anniversary_TTychus04")
// L3202
AchievementAward(gv_pLAYER_01_USER, "TTychus05_2")
// L3282
AchievementAward(gv_pLAYER_01_USER, "Anniversary_TTychus05")
// L3444
AchievementAward(gv_pLAYER_01_USER, "TTychus05_1")
// L3448
AchievementAward(gv_pLAYER_01_USER, "TTychus05_3")
// L4262
AchievementAward(gv_p01_USER, "TValerian01_2")
// L4349
AchievementAward(gv_p01_USER, "TValerian01_3")
// L4405
AchievementAward(gv_p01_USER, "TValerian01_1")
// L4409
AchievementAward(gv_p01_USER, "Anniversary_TValerian01")
// L8565
AchievementAward(gv_p1_USER, "TValerian02A_3")
// L9099
AchievementAward(gv_p1_USER, "TValerian02A_1")
// L9103
AchievementAward(gv_p1_USER, "TValerian02A_2")
// L1264
AchievementAward(gv_pLAYER_P01_USER, "Anniversary_TValerian02B")