# Make Point Face Angle

Grammar — Make p face angle degrees
FlagsNative | Action

Changes the facing of a point.

# Arguments

  • point — Point
  • fixed — Angle

Returns — void

native void PointSetFacing(point p, fixed inFacing);

Category: Point / Creation And Modification

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L397
PointSetFacing(lv_currentPoint, AngleBetweenPoints(lv_currentPoint, gv_trainPath[lv_currentTarget]))
// L3716
PointSetFacing(lv_ret, (PointGetFacing(lp_source) + lp_rotate))
// L397
PointSetFacing(lv_currentPoint, AngleBetweenPoints(lv_currentPoint, gv_trainPath[lv_currentTarget]))
// L3716
PointSetFacing(lv_ret, (PointGetFacing(lp_source) + lp_rotate))
// L3090
PointSetFacing(lv_tempLoc, UnitGetFacing(UnitGroupLoopCurrent()))
// L1326
PointSetFacing(gv_hybridReleaseLocation[auto0CF21101_var], AngleBetweenPoints(gv_hybridCellLocation[auto0CF21101_var], gv_hybridReleaseLocation[auto0CF21101_var]))
// L2228
PointSetFacing(lv_location, UnitGetFacing(auto174509A1_var))
// L3090
PointSetFacing(lv_tempLoc, UnitGetFacing(UnitGroupLoopCurrent()))
// L1326
PointSetFacing(gv_hybridReleaseLocation[auto0CF21101_var], AngleBetweenPoints(gv_hybridCellLocation[auto0CF21101_var], gv_hybridReleaseLocation[auto0CF21101_var]))
// L2228
PointSetFacing(lv_location, UnitGetFacing(auto174509A1_var))

# campaigns/swarmstory.sc2campaign

SwarmCampaignLib.galaxy

// L1194
PointSetFacing(lv_dropLocation, PointGetFacing(lp_location))

# campaigns/void.sc2campaign

MapScript.galaxy

// L476
PointSetFacing(lv_hybridPoint, UnitGetFacing(lv_hybrid))
// L507
PointSetFacing(lv_hybridPoint, UnitGetFacing(lv_hybrid))
// L2253
PointSetFacing(lv_hybridCellPoint, 180.01)
// L2257
PointSetFacing(lv_hybridCellPoint, 0.32)
// L476
PointSetFacing(lv_hybridPoint, UnitGetFacing(lv_hybrid))
// L507
PointSetFacing(lv_hybridPoint, UnitGetFacing(lv_hybrid))
// L2253
PointSetFacing(lv_hybridCellPoint, 180.01)
// L2257
PointSetFacing(lv_hybridCellPoint, 0.32)

# campaigns/voidstory.sc2campaign

VoidCampaignMissionLib.galaxy

// L3220
PointSetFacing(lv_dropLocation, PointGetFacing(lp_location))

# campaigns/voidstory.sc2campaign

VoidCampaignStoryLib.galaxy

// L629
PointSetFacing(libVCST_gv_pS_ConversationCutscenePosition, 270.0)

# mods/core.sc2mod

NativeLib.galaxy

// L3982
PointSetFacing(lv_pointWithFacing, lp_angle)
// L4008
PointSetFacing(lv_pointWithFacing, lp_angle)
// L3269
PointSetFacing(lv_pointWithFacing, lp_angle)
// L3307
PointSetFacing(lv_pointWithFacing, lp_angle)

# mods/heroes.stormmod

MapScript.galaxy

// L1404
PointSetFacing(gv_originalPlayerPoint, UnitGetFacing(gv_heroPlayer))
// L2068
PointSetFacing(lv_position, UnitGetFacing(libStEx_gv_hERO_FriendlyUther))
// L1404
PointSetFacing(gv_originalPlayerPoint, UnitGetFacing(gv_heroPlayer))
// L2068
PointSetFacing(lv_position, UnitGetFacing(libStEx_gv_hERO_FriendlyUther))

# mods/heroesbrawlmods/arenamodemods/gardenarena.stormmod

LibAMGT.galaxy

// L432
PointSetFacing(libAMGT_gv_aRMGardenMinionGroup[libAMGT_gv_aRMGardenMinionGroupCount].lv_positions[lv_minionIndex], UnitGetFacing(lv_itMinion))
// L670
PointSetFacing(libAMGT_gv_aRMGardenTerrors[libAMGT_gv_aRMGardenTerrorCount].lv_position, UnitGetFacing(lp_terror))

# mods/heroesbrawlmods/arenamodemods/punisherarena.stormmod

LibAMPU.galaxy

// L114
PointSetFacing(libAMPU_gv_aRMPunisherPunisherSpawnLocations[lv_itTeam], UnitGetFacing(libAMPU_gv_aRMPunisherPunishers[lv_itTeam].lv_unit))

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

LibPEB1.galaxy

// L298
PointSetFacing(lv_meleeAnchor, lv_facingAngle)
// L299
PointSetFacing(lv_rangedAnchor, lv_facingAngle)
// L313
PointSetFacing(libPEB1_gv_pVEMinionWaveMinionRally[lp_lane].lv_rallyPosition[lv_rallyStructures][libCore_ge_MinionTypes_Wizard][1], lv_facingAngle)

# mods/heroesdata.stormmod

GameLib.galaxy

// L8794
PointSetFacing(lv_spawnPoint, PointGetFacing(lv_basePoint))

# mods/heroesmapmods/battlegroundmapmods/hauntedmines.stormmod

LibMHtM.galaxy

// L616
PointSetFacing(libMHtM_gv_mMUnderworldMinionGroups[libMHtM_gv_mMUnderworldMinionGroupCount].lv_positions[lv_minionIndex], UnitGetFacing(lv_itMinion))
// L648
PointSetFacing(libMHtM_gv_mMUnderworldBossLocation, UnitGetFacing(libMHtM_gv_mMUnderworldBoss))

# mods/missionpacks/novacampaign.sc2mod

LibNCMI.galaxy

// L3393
PointSetFacing(lv_dropLocation, PointGetFacing(lp_location))

# mods/starcoop/starcoop.sc2mod

LibCOMI.galaxy

// L6203
PointSetFacing(lv_spawnPosition, UnitGetFacing(lp_targetUnit))
// L11164
PointSetFacing(lv_dropLocation, PointGetFacing(lp_location))

# mods/starcoop/starcoop.sc2mod

LibCOMU.galaxy

// L832
PointSetFacing(lv_spawnPosition, UnitGetFacing(lp_killingUnit))
// L1019
PointSetFacing(lv_departPoint, AngleBetweenPoints(lv_departPoint, lv_teleportPoint))
// L1030
PointSetFacing(lv_teleportPoint, AngleBetweenPoints(lv_teleportPoint, lv_departPoint))
// L3479
PointSetFacing(lv_spawnPosition, UnitGetFacing(lp_civilianUnit))

# mods/voidprologue.sc2mod

LibA3DDD02B.galaxy

// L882
PointSetFacing(lv_dropLocation, PointGetFacing(lp_location))