====== ChangeFlag ======
{{tag>zdoom}}
''void ChangeFlag(str name, bool value)''
===== Description =====
Enables or disables the specified actor flag of the activator. Zandronum equivalent of [[zdoom>SetActorFlag]]. Also see [[ChangeActorFlag]].
It works by giving an item that calls [[zdoom>A_ChangeFlag]].
To use this function, you must add ''decorate/changeflag.txt'' from ACSUtils to your mod.
===== Examples =====
ChangeFlag("SOLID", true);
ChangeFlag("SHOOTABLE", false);