Arcade: Alias profile

299
0
03-08-2022 04:50 PM
Labels (1)
Bud
by
Notable Contributor

The Arcade developer docs mention the "Alias" profile:

The alias profile allows the map author to write an expression to evaluate a numeric value and return a text alias representing that value.

When the alias is needed, the script will be evaluated. It will be passed the value for which an alias is desired. It is expected that the script returns a text value, comprising the alias to be shown.

Globals

Variable Name Type Description
$valueNumberThe numeric value for which a text alias is desired.

Return types

Text

It's not clear to me when/why the Alias profile would be used.

What would be an example use case for Alias?

 

Edit:

This post is a duplicate of: What/where is the Alias profile for Arcade?

 

Tags (1)
0 Kudos
0 Replies