SlashCo Wiki
Home
/
SlashCo.MapTools.SetEntityPositionAndAngle
SlashCo.MapTools.SetEntityPositionAndAngle
SlashCo.MapTools
.SetEntityPositionAndAngle(
Entity
entity,
Vector
newPosition,
Angle
newAngle )
Description
Updates the entities position and angle in hammer.
Arguments
1
Entity
entity
The entity to modify
2
Vector
newPosition
The new position to set
3
Angle
newAngle
The new angle to set
SlashCo Wiki
Basics
Basics
1
SlashCo Wiki
Wiki
2
Wiki Structure
Tests
Types
Lua Types
11
boolean
Color
CRecipientFilter
Entity
File
FSASYNC
Function
number
string
table
Vector
Lua
Game Systems
2
DTVar Networking
Fog
Globals
4
TEAM_LOBBY
TEAM_SLASHER
TEAM_SPECTATOR
TEAM_SURVIVOR
Libraries
2
SlashCo
SlashCo.AddDangerLevel
SlashCo.AddSlasherClass
SlashCo.CopyColor
SlashCo.DisableGlobalFog
SlashCo.EnableGlobalFog
SlashCo.FindPlayersInRange
SlashCo.GetRoundStartTime
SlashCo.SetRoundStartTime
SlashCo.SetupLanOverrides
SlashCo.MapTools
SlashCo.MapTools.IsEnabled
SlashCo.MapTools.Redo
SlashCo.MapTools.SetEntityAngle
SlashCo.MapTools.SetEntityPosition
SlashCo.MapTools.SetEntityPositionAndAngle
SlashCo.MapTools.Undo
Hooks
2
SlashCo:LanguageChanged
SlashCo:SetupLobbyEntities
Classes
1
Player
Player:FindPlayersInView
Player:GetFogMult
Player:SetFogMult
Player:SetImpervious
Structs
3
DangerLevel
GameData
SlasherClass
ConVars
2
slashco_maxplayers
slashco_playerpingdelay
Commands
0