This article's documentation is for the "GoldSrc" engine. Click here for more information.

calc_ratio

From Valve Developer Community
Revision as of 03:29, 19 February 2024 by NOUG4AT (talk | contribs) (Created page with "{{stub}} {{this is a|name=calc_ratio|e0|engine=gldsrc|game=Paranoia|game1=Cry of Fear}} For mathematical operations on the existing percentage value. They allow to change the...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Stub

This article or section is a stub. You can help by expanding it.

calc_ratio is an e0 available in Paranoia Paranoia and Cry of Fear Cry of Fear.

Warning.pngWarning:
  • The {{{engine}}} parameter is inconsistent with the name defined by the {{gldsrc}} template. This can most likely be fixed by setting the value of the {{{engine}}} parameter to GoldSrc.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.

For mathematical operations on the existing percentage value. They allow to change the ratio value, depending on certain conditions.