Talk:Env global: Difference between revisions
No edit summary |
(→Global State to Set: new section) |
||
Line 14: | Line 14: | ||
Anybody know how this entity can just be triggered? Example: I'm doing a map that has the Gravity Gun and later on in the map I wanna switch it to a Super Gravity Gun. Anyone know how I can just trigger this entity going from a regular Gravity Gun to a Super Gravity Gun instead of one or the other for a map? Thanks! --[[User:Mega Sean 45|Mega Sean 45]] 20:08, 9 September 2011 (PDT) | Anybody know how this entity can just be triggered? Example: I'm doing a map that has the Gravity Gun and later on in the map I wanna switch it to a Super Gravity Gun. Anyone know how I can just trigger this entity going from a regular Gravity Gun to a Super Gravity Gun instead of one or the other for a map? Thanks! --[[User:Mega Sean 45|Mega Sean 45]] 20:08, 9 September 2011 (PDT) | ||
: Place two, use TurnOn/TurnOff. --[[User:Artfunkel|Artfunkel]] 02:27, 10 September 2011 (PDT) | : Place two, use TurnOn/TurnOff. --[[User:Artfunkel|Artfunkel]] 02:27, 10 September 2011 (PDT) | ||
== Global State to Set == | |||
In newer games I saw that Valve used more of these 'Global State to Set' which are not on the list to preform all kinds of tasks, like disabling the ability for the co-op bots from Portal 2 to 'ping' or gesture. Anyone knows where the list of these new states is? | |||
--[[User:Mr.p.kiwi|<span style="color:#307D7E">'''Mr. P. Kiwi'''</span>]] <sup>([[User talk:Mr.p.kiwi|Talk]] | [[Special:Contributions/Mr.p.kiwi|Contributions]])</sup> 21:33, 19 December 2011 (PST) |
Revision as of 22:33, 19 December 2011
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_auto—ts2do 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)
Ohai
Anybody know how this entity can just be triggered? Example: I'm doing a map that has the Gravity Gun and later on in the map I wanna switch it to a Super Gravity Gun. Anyone know how I can just trigger this entity going from a regular Gravity Gun to a Super Gravity Gun instead of one or the other for a map? Thanks! --Mega Sean 45 20:08, 9 September 2011 (PDT)
- Place two, use TurnOn/TurnOff. --Artfunkel 02:27, 10 September 2011 (PDT)
Global State to Set
In newer games I saw that Valve used more of these 'Global State to Set' which are not on the list to preform all kinds of tasks, like disabling the ability for the co-op bots from Portal 2 to 'ping' or gesture. Anyone knows where the list of these new states is? --Mr. P. Kiwi (Talk | Contributions) 21:33, 19 December 2011 (PST)