> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: "ScalarExpressionType_t"
navbar: dynamic
asidebar: hide
schemaKind: enum
---
# ScalarExpressionType\_t

Schema enum in module `particles`.

## Summary

- Kind: `enum`
- Module: `particles`
- Size: `4 (0x04)`
- Size bytes: `4`
- Product: Counter-Strike 2

### Metadata

- `Min`: -1
- `Max`: 10

## Enumerators

| Name | Value | Hex | Metadata |
| --- | --- | --- | --- |
| `SCALAR_EXPRESSION_ADD` | `0` | `0x00` | `MPropertyFriendlyName`: "Add" |
| `SCALAR_EXPRESSION_SUBTRACT` | `1` | `0x01` | `MPropertyFriendlyName`: "Subtract" |
| `SCALAR_EXPRESSION_MUL` | `2` | `0x02` | `MPropertyFriendlyName`: "Multiply" |
| `SCALAR_EXPRESSION_DIVIDE` | `3` | `0x03` | `MPropertyFriendlyName`: "Divide" |
| `SCALAR_EXPRESSION_INPUT_1` | `4` | `0x04` | `MPropertyFriendlyName`: "Input 1" |
| `SCALAR_EXPRESSION_MIN` | `5` | `0x05` | `MPropertyFriendlyName`: "Min" |
| `SCALAR_EXPRESSION_MAX` | `6` | `0x06` | `MPropertyFriendlyName`: "Max" |
| `SCALAR_EXPRESSION_MOD` | `7` | `0x07` | `MPropertyFriendlyName`: "Mod" |
| `SCALAR_EXPRESSION_EQUAL` | `8` | `0x08` | `MPropertyFriendlyName`: "Equal" |
| `SCALAR_EXPRESSION_GT` | `9` | `0x09` | `MPropertyFriendlyName`: "Greater Than" |
| `SCALAR_EXPRESSION_LT` | `10` | `0x0A` | `MPropertyFriendlyName`: "Less Than" |
| `SCALAR_EXPRESSION_UNINITIALIZED` | `-1` | `0xFFFFFFFF` | `MPropertyFriendlyName`: "Uninitialized" |

## Referenced By

| Name | Field | Module | Relation |
| --- | --- | --- | --- |
| [C\_INIT\_SetAttributeToScalarExpression](/cs2/dumped_data/schema/particles/C_INIT_SetAttributeToScalarExpression) | `m_nExpression` | particles | - |
| [C\_OP\_SetAttributeToScalarExpression](/cs2/dumped_data/schema/particles/C_OP_SetAttributeToScalarExpression) | `m_nExpression` | particles | - |
| [C\_OP\_SetControlPointFieldToScalarExpression](/cs2/dumped_data/schema/particles/C_OP_SetControlPointFieldToScalarExpression) | `m_nExpression` | particles | - |

