Difference between revisions of "Entity:info ff teamspawn"

From Fortress Forever Wiki
Jump to navigationJump to search
(Removing Infobox manual/Footer)
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Infobox manual/Header}}
+
{{Infobox_mapping}}
<center>The title given to this article is incorrect due to [http://en.wikipedia.org/wiki/Wikipedia:Naming_conventions_%28technical_restrictions%29 technical limitations]. The correct title is '''info_ff_teamspawn'''.</center>
+
==info_ff_teamspawn==
[[Category:Entities]]
+
info_ff_teamspawn is a Fortress Forever spawn point. The Lua script decides who can spawn here.
 +
 
 +
*[[Lua:validspawn|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.
 +
[[Category:Entities]] [[Category:Lua]]

Latest revision as of 13:52, 13 April 2010

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.