Scripting Conventions

From Frictional Wiki
< HPL3‎ | SOMA‎ | Scripting
Revision as of 14:21, 2 October 2026 by TiMan (talk | contribs) (Add a sourced SOMA guide with explanations and stock-script examples.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

SOMA helper names group related functions with prefixes such as Map_, Music_ and Voice_.

The map and audio helper declarations use const tString&in for string inputs, float for numeric parameters such as fade times, and bool for switches such as music looping. These are examples from the declarations, rather than a complete naming or style specification.

Still to expand

These are observed SOMA naming examples. A full documented project-wide style specification has not been established.

See also