Back to TPG

tpg.ent.flag.server:SetHome

S🏷️ Flag

Part of TPG namespace

ENT:SetHome(pos)
View on GitHub|entities/entities/tpg_flag/init.lua:52-55
📋 Has LDoc👁️ 0 viewsUpdated 1 month ago

Description

Sets .HomePos and teleports the flag there. Called by the spawner right after :Spawn(); also usable to relocate a live flag directly (bypassing the reset/broadcast that ENT:ReturnHome does).

Parameters

NameTypeDescription
posVector

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.