Objective.setName 2

Sets the objective's name. Works on scripted objectives only, and is synchronised over the network.A name starting with # is treated as a localization key and resolved from the mission localization file, so the same objective reads correctly in every language.


Return value

Return TypeDescription
voidThis function doesn't return anything

Parameters

ParameterTypeDescription
1stringThe new name. Prefix it with # to use a key from the mission localization file.

Examples

No examples available.


Back to Scripting API