Talk:Math counter: Difference between revisions
Jump to navigation
Jump to search
Yar Kramer (talk | contribs) |
Xsuperloadx (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
I noticed some strange behaviour of math_counter. When you set it's value to 0 by setvaluenofire and then add X (don't use more than one add output) to reach max value, onhitmax event won't fire. This doesn't happed using setvalue or composed add output (like add Y; add Z; Y+Z=X). Can someone confirm this? | |||
Is it possible to transfer the value of a math_counter across multiple maps, i.e. to keep track of the number of cameras the player has knocked down in Portal? Or is there a better way of doing that than a math_counter? —[[User:Yar Kramer|Yar Kramer]] 15:39, 26 Jun 2008 (PDT) | Is it possible to transfer the value of a math_counter across multiple maps, i.e. to keep track of the number of cameras the player has knocked down in Portal? Or is there a better way of doing that than a math_counter? —[[User:Yar Kramer|Yar Kramer]] 15:39, 26 Jun 2008 (PDT) | ||
Revision as of 03:39, 16 August 2009
I noticed some strange behaviour of math_counter. When you set it's value to 0 by setvaluenofire and then add X (don't use more than one add output) to reach max value, onhitmax event won't fire. This doesn't happed using setvalue or composed add output (like add Y; add Z; Y+Z=X). Can someone confirm this?
Is it possible to transfer the value of a math_counter across multiple maps, i.e. to keep track of the number of cameras the player has knocked down in Portal? Or is there a better way of doing that than a math_counter? —Yar Kramer 15:39, 26 Jun 2008 (PDT)
Math Counter
Try using an env_global. It has a setting for keeping track of math variables across maps.
- Um ... no it doesn't. Are you sure you're thinking of the right thing? —Yar Kramer 16:07, 8 Aug 2008 (PDT)