# Create Model With Point Facing

Grammar — Create actor model model|Model at position|Point using point facing
FlagsAction

Creates a generic actor with the specified model at the specified point and sets its facing to match the point. Running the “Last Created Actor” function immediately after this action will return the actor created by this action.

# Arguments

  • string [ gamelink::Model ] — Model
  • point — Point

Returns — void

void libNtve_gf_CreateModelWithPointFacing(
	string lp_model,
	point lp_position,
);

Category: Actor / Create Actors

# Examples

# campaigns/swarm.sc2campaign

MapScript.galaxy

// L6033
libNtve_gf_CreateModelWithPointFacing("GuideArrow", PointFromId(147))
// L7947
libNtve_gf_CreateModelWithPointFacing("GuideArrow", PointFromId(964))
// L1395
libNtve_gf_CreateModelWithPointFacing("MoebiusLabDoorsWideAirlockWind", PointFromId(1679))
// L2737
libNtve_gf_CreateModelWithPointFacing("MoebiusLabDoorsWideAirlockWind", PointFromId(2084))
// L5792
libNtve_gf_CreateModelWithPointFacing("MoebiusLabDoorsWideAirlockWind", PointFromId(1772))
// L6033
libNtve_gf_CreateModelWithPointFacing("GuideArrow", PointFromId(147))
// L7947
libNtve_gf_CreateModelWithPointFacing("GuideArrow", PointFromId(964))
// L1395
libNtve_gf_CreateModelWithPointFacing("MoebiusLabDoorsWideAirlockWind", PointFromId(1679))
// L2737
libNtve_gf_CreateModelWithPointFacing("MoebiusLabDoorsWideAirlockWind", PointFromId(2084))
// L5792
libNtve_gf_CreateModelWithPointFacing("MoebiusLabDoorsWideAirlockWind", PointFromId(1772))
// L478
libNtve_gf_CreateModelWithPointFacing("Aiur_City_HybridWarp", lv_hybridPoint)
// L509
libNtve_gf_CreateModelWithPointFacing("Aiur_City_HybridWarp", lv_hybridPoint)
// L2266
libNtve_gf_CreateModelWithPointFacing("HybridDominatorVoidDeath", lv_hybridCellPoint)
// L478
libNtve_gf_CreateModelWithPointFacing("Aiur_City_HybridWarp", lv_hybridPoint)
// L509
libNtve_gf_CreateModelWithPointFacing("Aiur_City_HybridWarp", lv_hybridPoint)
// L2266
libNtve_gf_CreateModelWithPointFacing("HybridDominatorVoidDeath", lv_hybridCellPoint)

# mods/starcoop/starcoop.sc2mod

LibCOMU.galaxy

// L1021
libNtve_gf_CreateModelWithPointFacing("DarkTemplarChampionBlinkOut", lv_departPoint)
// L1032
libNtve_gf_CreateModelWithPointFacing("DarkTemplarChampionBlinkIn", lv_teleportPoint)