Create Flag

Signatures

bool createFlag(string name)
bool createFlag(string name, object value)

Description

Creates a flag that can be used to communicate between different scripts.

Returns whether the operation was successful (true) or not (false).

Arguments

Name

The name of the flag to create.

Value

The value of the flag.

Can be a bool, integer, double, or string.

Is optional and set to false by default.

Notes

Last updated