ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:changeactorflag

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);
functions/changeactorflag.txt · Last modified: 2017/07/15 15:05 by korshun