ChangeFlag

void ChangeFlag(str name, bool value)

Description

Enables or disables the specified actor flag of the activator. Zandronum equivalent of SetActorFlag. Also see ChangeActorFlag.

It works by giving an item that calls A_ChangeFlag.

To use this function, you must add decorate/changeflag.txt from ACSUtils to your mod.

Examples

ChangeFlag("SOLID", true);
ChangeFlag("SHOOTABLE", false);