A_RemoteDamage is an action that is used to deal damage to an Object remotely – alternatively, this action can kill or remove the Object instead.
Var1 determines the Object affected by this action, as well as the Object acting as the source and inflictor of any damage dealt:
- 0 – the actor; if damaged or killed, no source or inflictor Object is used
- 1 – the actor's target; if damaged or killed, the actor is set as the source and inflictor of the damage
- 2 – the actor's tracer; if damaged or killed, the actor is set as the source and inflictor of the damage
Var2 determines the action performed on the affected Object:
- 0 – damages the Object
- 1 – kills the Object
- 2 – removes the Object (does not work if used on players)
This action will do nothing if the selected Object to damage, kill or remove does not exist.
|Actions – Remote actions||[view]|
|A_DualAction • A_LinedefExecute • A_RandomState • A_RandomStateRange • A_RemoteAction • A_RemoteDamage • A_SetTargetsTarget • A_SetObjectState • A_SetObjectTypeState|