Table of Contents

ChangeActorFlag

void ChangeActorFlag(str name, bool value)

Description

Enables or disables the specified actor flag. Zandronum equivalent of SetActorFlag.

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

ChangeActorFlag(0, "SOLID", true);
ChangeActorFlag(monster, "SHOOTABLE", false);