Difference between revisions of "Lua:Map Location System"

From Fortress Forever Wiki
Jump to navigationJump to search
Line 8: Line 8:
  
 
==trigger_ff_script entities in the .vmf==
 
==trigger_ff_script entities in the .vmf==
So balls.
+
In hammer create a brush and tie it to a trigger_ff_script entity.
  
 
==.lua file for the map==
 
==.lua file for the map==

Revision as of 18:06, 28 May 2006

Map 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

trigger_ff_script entities in the .vmf

In hammer create a brush and tie it to a trigger_ff_script entity.

.lua file for the map

Balls deep.