YesNoOk
avatar

TargetPowerAdd (SCTRL) (Read 3888 times)

Started by Ricepigeon, October 20, 2015, 04:25:42 pm
Share this topic:
TargetPowerAdd (SCTRL)
New #1  October 20, 2015, 04:25:42 pm
  • *****
  • Thanks and God bless
    • USA
    • ricepigeon.neocities.org
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:
Code:
;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.
Last Edit: November 25, 2015, 05:15:38 am by Odb718