Entity:info ff teamspawn

From Fortress Forever Wiki
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Mapping for FF
The Basics

Setting up Hammer
Getting Started With Lua
Releasing a map

FF-specific Entities

Lua location system

Map Templates
FF Lua Documentation

Entity Typing
Entity Collections

Commands
Callbacks

info_ff_teamspawn

info_ff_teamspawn is a Fortress Forever spawn point. The Lua script decides who can spawn here.

  • validspawn(FFSpawn, CFFPlayer) --called on each spawn point whenever a player needs to spawn. Returns true/false for whether the player can spawn at the spawn point. The player will be spawned randomly among all info_ff_teampawns which report as valid.