Difference between revisions of "Lua:Map Location System"

From Fortress Forever Wiki
Jump to navigationJump to search
Line 3: Line 3:
 
The location system in Fortress Forever is used to show a player via the HUD what room/area they are currently in.
 
The location system in Fortress Forever is used to show a player via the HUD what room/area they are currently in.
  
There are 2 parts to implementing a location system for a map.
+
There are 2 parts to implementing a location system in a map:
* info_ff_trigger entities in the map
+
* trigger_ff_script entities in the .vmf
 
* .lua file for the map
 
* .lua file for the map

Revision as of 15:06, 28 May 2006

Location System

The location system in Fortress Forever is used to show a player via the HUD what room/area they are currently in.

There are 2 parts to implementing a location system in a map:

  • trigger_ff_script entities in the .vmf
  • .lua file for the map