A_SetObjectFlags is an action that modifies the actor's flags. Var1 is the flags value to use and Var2 specifies what should be done with it: If set to 0, Var1's value will overwrite the current flags value. If set to 1, Var1's value will be removed from the current flags value. If set to 2, Var1's value will be added to the current flags value.
Note that this action also unsets the actor's position and clears the sector list; this is to allow
MF_NOSECTOR to be added or removed from the actor's flags properly, if necessary. When the actor's position is reset afterwards, these two flags determine whether or not the actor is added to the blockmap and sector links, respectively.
|Actions – Property modifiers||[view]|
|A_ChangeAngleAbsolute • A_ChangeAngleRelative • A_ChangeColorAbsolute • A_ChangeColorRelative • A_FindTarget • A_FindTracer • A_SetFuse • A_SetObjectFlags • A_SetObjectFlags2 • A_SetRandomTics • A_SetReactionTime • A_SetScale • A_SetTics|