TargetPowerAdd (SCTRL)

Started by Ricepigeon, October 20, 2015, 04:25:42 PM

Previous topic - Next topic

Ricepigeon

Adds the specified amount to all targets' power.

Required parameters:

    value = add_amt (int)
        add_amt is added to each target's power.

Optional parameters:

    ID = target_id (int)
        Specifies the desired target ID to affect. Only targets with this target ID will be affected. Defaults to -1 (affects all targets.)

Example:
;Fighter Factory 3
[State 0, TargetPowerAdd]
type = TargetPowerAdd
trigger1 =
value =
ID = -1
;ignorehitpause =
;persistent =


Related CNS:
poweradd (CNS)

Related SCTRL:
PowerAdd (SCTRL)
PowerSet (SCTRL)

Related Triggers;
Power (Triggers)
PowerMax (Triggers)

Related SCTRL:
BindToTarget (SCTRL)
TargetBind (SCTRL)
TargetDrop (SCTRL)
TargetFacing (SCTRL)
TargetLifeAdd (SCTRL)
TargetState (SCTRL)
TargetVelAdd (SCTRL)
TargetVelSet (SCTRL)

Related Triggers:
NumTarget (Triggers)

Additional Notes:
Similar to TargetLifeAdd, this controller is almost always used when you have Player2 in a custom state, such as a throw or a grab, and replicates the effects of the givepower parameter of the HitDef controller. This controller is almost always used in conjunction with the TargetState controller as a result.