A_SetObjectState

From SRB2 Wiki
Jump to navigation Jump to search

A_SetObjectState is an action that changes the state of the actor's target or tracer to the one specified by Var1 – refer to list of states for reference. Var2 determines whether the actor's target (0) or the actor's tracer (1) will be made to change state by this action. If the chosen Object does not have any health or does not exist, this action will do nothing. Note that changing the chosen Object's state to S_NULL will remove the Object from existence.

This action originates from the v2.0 modification SRB2Morphed and was added to SRB2 itself in v2.1.

  Actions – Remote actions [view]
A_DualActionA_LinedefExecuteA_RandomStateA_RandomStateRangeA_RemoteActionA_RemoteDamageA_SetTargetsTargetA_SetObjectStateA_SetObjectTypeState