docs/style.md, docs/glossary.md, style checks DOC010–DOC023 and docs report; the site in a light theme; the Editor, Aego Script, Gameplay, Physics, Scenes, Rendering, Tools and Reference sections rewritten.
15 lines
523 B
Markdown
15 lines
523 B
Markdown
---
|
|
code: ANC001
|
|
severity: error
|
|
title: "A condition does not fit its parameter"
|
|
scope: asset
|
|
---
|
|
|
|
A transition has a condition on a parameter the controller does not declare, or with an operator its kind does not have: `gt`, `ge`, `lt` and `le` compare `int` and `float` parameters, a `bool` takes `eq` and `ne` or no operator, a `trigger` takes no operator.
|
|
|
|
**Fix.** Declare the parameter with `param "Name" kind=…`, or change the operator to one its kind has.
|
|
|
|
## Details
|
|
|
|
The controller keeps its last good version.
|