Talk:Env global

From Valve Developer Community
Revision as of 16:58, 23 March 2010 by MLSTRM (talk | contribs)

Jump to: navigation, search

Is it possible to use your own global variables here (and if so, how do you check them)? I don't want to code things if I don't have to.

Also, do these globabl variables do anything just by being set, or are they only used for setting things in the map? - RodeoClown 23:27, 17 Apr 2006 (PDT)

You can make your own I believe.. you can utilize them in logic_autots2do 06:20, 18 Apr 2006 (PDT)
By variables, do you mean flags or do you mean values (integers/floats)? For instance, I'd like to be able to keep check of how many keys I've colleced from level to level. At first glance, this doesn't seem possible via env_global or logic_auto. --Andreasen 11:49, 11 Sep 2007 (PDT)
What you could do is use the counter function and add one every time you pick one up. MLSTRM 16:58, 23 March 2010 (UTC)