# Create Actor At Point

Grammar — Create actor actor at point position
FlagsAction

Creates an actor at the specified point. Running the “Last Created Actor” function immediately after this action will return the actor created by this action.

# Arguments

  • string [ gamelink::Actor ] — Actor
  • point — Position

Returns — actor

actor libNtve_gf_CreateActorAtPoint(
	string lp_actor,
	point lp_position,
);

Category: Actor / Create Actors

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L4547
libNtve_gf_CreateActorAtPoint("FireMedium", PointFromId(2936))
// L4548
libNtve_gf_CreateActorAtPoint("FireMedium", PointFromId(2939))
// L4549
libNtve_gf_CreateActorAtPoint("FireMedium", PointFromId(2940))
// L4550
libNtve_gf_CreateActorAtPoint("FireMedium", PointFromId(2942))
// L4551
libNtve_gf_CreateActorAtPoint("FireMedium", PointFromId(2941))
// L8832
libNtve_gf_CreateActorAtPoint("FireMedium", PointFromId(753))
// L8862
libNtve_gf_CreateActorAtPoint("FireMedium", PointFromId(1029))
// L8892
libNtve_gf_CreateActorAtPoint("FireMedium", PointFromId(62))
// L8922
libNtve_gf_CreateActorAtPoint("FireMedium", PointFromId(1063))
// L8952
libNtve_gf_CreateActorAtPoint("FireMedium", PointFromId(1075))
// L757
libNtve_gf_CreateActorAtPoint(lp_crashingDoodadType, RegionRandomPoint(RegionFromId(87)))
// L5600
libNtve_gf_CreateActorAtPoint("CharCrashingBarracks", PointFromId(1080))
// L5652
libNtve_gf_CreateActorAtPoint("CharCrashingBarracks", PointFromId(267))
// L5712
libNtve_gf_CreateActorAtPoint("CharCrashingFactory", PointFromId(268))
// L5772
libNtve_gf_CreateActorAtPoint("CharCrashingFactory", PointFromId(1145))
// L5832
libNtve_gf_CreateActorAtPoint("CharCrashingBattlecruiser", PointFromId(1148))
// L5892
libNtve_gf_CreateActorAtPoint("CharCrashingBattlecruiser", PointFromId(1149))
// L7933
libNtve_gf_CreateActorAtPoint("FireMedium", PointFromId(1202))
// L7934
libNtve_gf_CreateActorAtPoint("FireMedium", PointFromId(1212))
// L7935
libNtve_gf_CreateActorAtPoint("FireMedium", PointFromId(1214))
// L346
libNtve_gf_CreateActorAtPoint(lp_crashingDoodadType, RegionRandomPoint(RegionFromId(30)))
// L4547
libNtve_gf_CreateActorAtPoint("FireMedium", PointFromId(2936))
// L4548
libNtve_gf_CreateActorAtPoint("FireMedium", PointFromId(2939))
// L4549
libNtve_gf_CreateActorAtPoint("FireMedium", PointFromId(2940))
// L4550
libNtve_gf_CreateActorAtPoint("FireMedium", PointFromId(2942))
// L4551
libNtve_gf_CreateActorAtPoint("FireMedium", PointFromId(2941))
// L8832
libNtve_gf_CreateActorAtPoint("FireMedium", PointFromId(753))
// L8862
libNtve_gf_CreateActorAtPoint("FireMedium", PointFromId(1029))
// L8892
libNtve_gf_CreateActorAtPoint("FireMedium", PointFromId(62))
// L8922
libNtve_gf_CreateActorAtPoint("FireMedium", PointFromId(1063))
// L8952
libNtve_gf_CreateActorAtPoint("FireMedium", PointFromId(1075))
// L757
libNtve_gf_CreateActorAtPoint(lp_crashingDoodadType, RegionRandomPoint(RegionFromId(87)))
// L5600
libNtve_gf_CreateActorAtPoint("CharCrashingBarracks", PointFromId(1080))
// L5652
libNtve_gf_CreateActorAtPoint("CharCrashingBarracks", PointFromId(267))
// L5712
libNtve_gf_CreateActorAtPoint("CharCrashingFactory", PointFromId(268))
// L5772
libNtve_gf_CreateActorAtPoint("CharCrashingFactory", PointFromId(1145))
// L5832
libNtve_gf_CreateActorAtPoint("CharCrashingBattlecruiser", PointFromId(1148))
// L5892
libNtve_gf_CreateActorAtPoint("CharCrashingBattlecruiser", PointFromId(1149))
// L7933
libNtve_gf_CreateActorAtPoint("FireMedium", PointFromId(1202))
// L7934
libNtve_gf_CreateActorAtPoint("FireMedium", PointFromId(1212))
// L7935
libNtve_gf_CreateActorAtPoint("FireMedium", PointFromId(1214))
// L346
libNtve_gf_CreateActorAtPoint(lp_crashingDoodadType, RegionRandomPoint(RegionFromId(30)))
// L695
libNtve_gf_CreateActorAtPoint("HybridWarpInEffect", UnitGetPosition(lp_cHOSEN_HYBRID))
// L695
libNtve_gf_CreateActorAtPoint("HybridWarpInEffect", UnitGetPosition(lp_cHOSEN_HYBRID))

# campaigns/swarmstory.sc2campaign

SwarmCampaignLib.galaxy

// L4466
libNtve_gf_CreateActorAtPoint(lp_actor, lp_point)

# campaigns/void.sc2campaign

MapScript.galaxy

// L585
libNtve_gf_CreateActorAtPoint("Aiur_CrashingDebris", PointWithOffsetPolar(CameraGetTarget(gv_pLAYER_01_USER), RandomFixed(5.0, 10.0), libNtve_gf_RandomAngle()))
// L3161
libNtve_gf_CreateActorAtPoint("Korhal01_Quad_Amb_BG_Platform_Quake", RegionGetCenter(RegionEntireMap()))
// L3375
libNtve_gf_CreateActorAtPoint("Korhal01_Quad_Amb_BG_Platform_Quake", RegionGetCenter(RegionEntireMap()))
// L3999
libNtve_gf_CreateActorAtPoint("SOAOrbitalStrikeTargetModel", lv_targetPoint[1][lv_i])
// L4010
libNtve_gf_CreateActorAtPoint("SOAOrbitalStrikeTargetModel", lv_targetPoint[2][lv_i])
// L4021
libNtve_gf_CreateActorAtPoint("SOAOrbitalStrikeTargetModel", lv_targetPoint[3][lv_i])
// L585
libNtve_gf_CreateActorAtPoint("Aiur_CrashingDebris", PointWithOffsetPolar(CameraGetTarget(gv_pLAYER_01_USER), RandomFixed(5.0, 10.0), libNtve_gf_RandomAngle()))
// L3161
libNtve_gf_CreateActorAtPoint("Korhal01_Quad_Amb_BG_Platform_Quake", RegionGetCenter(RegionEntireMap()))
// L3375
libNtve_gf_CreateActorAtPoint("Korhal01_Quad_Amb_BG_Platform_Quake", RegionGetCenter(RegionEntireMap()))
// L3999
libNtve_gf_CreateActorAtPoint("SOAOrbitalStrikeTargetModel", lv_targetPoint[1][lv_i])
// L4010
libNtve_gf_CreateActorAtPoint("SOAOrbitalStrikeTargetModel", lv_targetPoint[2][lv_i])
// L4021
libNtve_gf_CreateActorAtPoint("SOAOrbitalStrikeTargetModel", lv_targetPoint[3][lv_i])

# campaigns/voidstory.sc2campaign

VoidCampaignMissionLib.galaxy

// L274
libNtve_gf_CreateActorAtPoint(lp_actor, lp_point)
// L772
libNtve_gf_CreateActorAtPoint("SOAOrbitalStrikeTargetModel", libVCMI_gv_pM_SoAOrbitalStrike_Points[lp_targetIndex])
// L774
libNtve_gf_CreateActorAtPoint("SOATargetingModeConfirmationSound", libVCMI_gv_pM_SoAOrbitalStrike_Points[lp_targetIndex])
// L840
libNtve_gf_CreateActorAtPoint("SOAGravitonBombTargetModel", libVCMI_gv_sOA_GravitonBomb_Points[lp_targetIndex])
// L842
libNtve_gf_CreateActorAtPoint("SOAGravitonBombTargetSound", libVCMI_gv_sOA_GravitonBomb_Points[lp_targetIndex])
// L4625
libNtve_gf_CreateActorAtPoint(libVCMI_gv_pM_SoATargetingModel, lv_targetPoint)
// L4627
libNtve_gf_CreateActorAtPoint("SOATargetingModeConfirmationSound", lv_targetPoint)
// L4688
libNtve_gf_CreateActorAtPoint("SOATargetingModeConfirmationSound", lv_targetPoint)

# mods/core.sc2mod

NativeLib.galaxy

// L1187
libNtve_gf_CreateActorAtPoint("LookAtTarget", lp_point)
// L1202
libNtve_gf_CreateActorAtPoint("LookAtTarget", lp_point)
// L1220
libNtve_gf_CreateActorAtPoint("LookAtTarget", lp_point)
// L3364
libNtve_gf_CreateActorAtPoint("TriggeredExplosion", lp_point)
// L282
libNtve_gf_CreateActorAtPoint(lp_actor, lp_position)
// L1083
libNtve_gf_CreateActorAtPoint("LookAtTarget", lp_point)
// L1098
libNtve_gf_CreateActorAtPoint("LookAtTarget", lp_point)
// L1116
libNtve_gf_CreateActorAtPoint("LookAtTarget", lp_point)
// L2842
libNtve_gf_CreateActorAtPoint("TriggeredExplosion", lp_point)

# mods/heroes.stormmod

MapScript.galaxy

// L667
libNtve_gf_CreateActorAtPoint("MMController", RegionGetCenter(RegionEntireMap()))
// L667
libNtve_gf_CreateActorAtPoint("MMController", RegionGetCenter(RegionEntireMap()))

# mods/heroesbrawlmods/arenamodemods/arenamode.stormmod

LibAREN.galaxy

// L1091
libNtve_gf_CreateActorAtPoint((("CheerEmitterOrderEnemySlain0" + IntToString(lv_emitterIndex))), libAREN_gv_aRM_CrowdStands_SoundEmitters[lv_currentSubmap][lv_sectionIndex][lv_emitterIndex])
// L1092
libNtve_gf_CreateActorAtPoint((("CheerEmitterChaosEnemySlain0" + IntToString(lv_emitterIndex))), libAREN_gv_aRM_CrowdStands_SoundEmitters[lv_currentSubmap][lv_sectionIndex][lv_emitterIndex])
// L1095
libNtve_gf_CreateActorAtPoint((("CheerEmitterOrderAllySlain0" + IntToString(lv_emitterIndex))), libAREN_gv_aRM_CrowdStands_SoundEmitters[lv_currentSubmap][lv_sectionIndex][lv_emitterIndex])
// L1096
libNtve_gf_CreateActorAtPoint((("CheerEmitterChaosAllySlain0" + IntToString(lv_emitterIndex))), libAREN_gv_aRM_CrowdStands_SoundEmitters[lv_currentSubmap][lv_sectionIndex][lv_emitterIndex])
// L2601
libNtve_gf_CreateActorAtPoint((lv_actorID), libAREN_gv_aRM_CrowdStands_SoundEmitters[lv_submapIndex][lv_sectionIndex][lv_emitterIndex])

# mods/heroesbrawlmods/arenamodemods/gardenarena.stormmod

LibAMGT.galaxy

// L1356
libNtve_gf_CreateActorAtPoint("MMController", RegionGetCenter(RegionEntireMap()))

# mods/heroesbrawlmods/arenamodemods/punisherarena.stormmod

LibAMPU.galaxy

// L1664
libNtve_gf_CreateActorAtPoint("MMController", RegionGetCenter(RegionEntireMap()))

# mods/heroesbrawlmods/arenamodemods/templearena.stormmod

LibAMCT.galaxy

// L932
libNtve_gf_CreateActorAtPoint("TempleDefenderBirthActor", UnitGetPosition(libAMCT_gv_aRMSkyTemple[lp_templeIndex].lv_defenderArray[lp_defenderIndex]))

# mods/heroesbrawlmods/arenamodemods/trialgrounds.stormmod

LibAMVS.galaxy

// L1773
libNtve_gf_CreateActorAtPoint("MMController", RegionGetCenter(RegionEntireMap()))

# mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod

LibPEB1.galaxy

// L1970
libNtve_gf_CreateActorAtPoint("AnubarakBeetleBurrow", UnitGetPosition(lp_zergUnit))
// L2074
libNtve_gf_CreateActorAtPoint("AnubarakBeetleBurrow", UnitGetPosition(lp_zergUnit))
// L2606
libNtve_gf_CreateActorAtPoint("Storm_Doodad_SCBraxis_PuddleOil", RegionRandomPoint(RegionCircle(UnitGetPosition(libPEB1_gv_archangelAreas[lp_areaIndex].lv_archangelUnit), 10.0)))
// L3666
libNtve_gf_CreateActorAtPoint("KerriganCrushingGripZerglingUnburrowSplat", UnitGetPosition(UnitLastCreated()))
// L1155
libNtve_gf_CreateActorAtPoint(lv_sound, UnitGetPosition(lp_zergHeroUnit))
// L1675
libNtve_gf_CreateActorAtPoint("KerriganCrushingGripZerglingUnburrowSplat", UnitGetPosition(UnitLastCreated()))
// L3422
libNtve_gf_CreateActorAtPoint("ZergHeroBGSoundAnubarak", UnitGetPosition(UnitGroupRandomUnit(UnitGroup("CrusaderIndestructible", c_playerAny, RegionCircle(UnitGetPosition(UnitGroupUnit(UnitGroupSelected(EventPlayer()), 1)), 60.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive)))

# mods/heroesdata.stormmod

MapMechanicsLib.galaxy

// L2203
libNtve_gf_CreateActorAtPoint("MMController", RegionGetCenter(RegionEntireMap()))

# mods/heroesmapmods/battlegroundmapmods/battlefieldofeternity.stormmod

LibMLBD.galaxy

// L437
libNtve_gf_CreateActorAtPoint("Event_BoE_Immortal_Mid_Teleport", libMLBD_gv_mMBOEBossSpawnLocationCenter)

# mods/heroesmapmods/battlegroundmapmods/gardenofterror.stormmod

LibGRDN.galaxy

// L178
libNtve_gf_CreateActorAtPoint("UI_Game_Ping_GardenOfTerror_EventWarning", libGRDN_gv_seedSpawns[lp_location].lv_point)
// L196
libNtve_gf_CreateActorAtPoint("UI_Game_Ping_GardenOfTerror_Seed_Spawned", libGRDN_gv_seedSpawns[lp_location].lv_point)
// L922
libNtve_gf_CreateActorAtPoint("MMController", RegionGetCenter(RegionEntireMap()))
// L1177
libNtve_gf_CreateActorAtPoint("UI_Game_Ping_GardenOfTerror_Terror_Summoned", libGRDN_gv_seedSpawns[lv_location].lv_point)
// L1181
libNtve_gf_CreateActorAtPoint("UI_Game_Ping_GardenOfTerror_Seed_Collected", libGRDN_gv_seedSpawns[lv_location].lv_point)
// L1185
libNtve_gf_CreateActorAtPoint("Event_GardenOfTerror_Seed_Pickup_Sound", libGRDN_gv_seedSpawns[lv_location].lv_point)