Discussion in 'Mapping Questions & Discussion' started by MegapiemanPHD, Jan 3, 2016.
Is there a console command I can use to check the current value of a math_counter entity?
With sv_cheats on, type ent_dump [name of math_counter] into the console. It will print all the keys for the entity and their associated values.
alternatively if you're interested in exactly when a math counter reaches certain values, use 'developer 2'
If that wizzes by too fasr for you, use 'con_filter_enable 1' with 'con_filter_text <string>' to remove everything that doesn't match the desired string (use an entity name for all inputs to that entity as well as all outputs it sends)
Does ent_text show the counter status? That one accepts entity names. Of course, you'd need to look in the right direction, but that's hardly a challenge.
Doing that gives me the max, classname, hammerid, and friction but not the current value of the math counter.
typing developer 2 in the console doesn't seem to do anything.
Separate names with a comma.