Back to TPG

tpg.ent.flag.server:Initialize

S🏷️ Flag

Part of TPG namespace

ENT:Initialize()
View on GitHub|entities/entities/tpg_flag/init.lua:23-37
📋 Has LDoc👁️ 0 viewsUpdated 1 month ago

Description

Resets flag state to STATE_HOME/no possessor. self.HomePos is only initialised here if not already set by the spawner (TPG.CTF.SpawnFlags normally sets it first), so a flag created any other way still gets a sane home rather than nil.

Parameters

No parameters.

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.