Custom Actor
A Custom Actor returns one Actor. Select it wherever an Interaction Actor can be Custom: a Redirector's Relate To or Redirected Effect Source, a Stat From (to read a Stat of that Actor), a SrcSep key's Src Actor, a Source Separated Stat's Process Scope.
Write your own by deriving from CustomActor and overriding GetActor(IActorProvider actorProvider, int environmentId). Three ship with Power.
Closest In Sight
Create › Power › Misc › Custom Actor › Closest In Sight
The first Actor of a filtered relation scope — with a Closest In Sight filter, the closest Actor inside the view cone. If nobody passes, it returns a fallback Actor, or nothing.
| Field | Description |
|---|---|
| Relate To | The Actor the scope is measured from. |
| Relation State | Which relation (e.g. Enemy). |
| Filter | The Targeting Filter that orders / narrows the scope. |
| No Fallback | Returns nothing when the scope is empty, so a not-null check on the result tells whether anyone is in sight. |
| Fallback Actor | The Interaction Actor returned when the scope is empty (e.g. Source). Hidden while No Fallback is on. |
From Stat
Create › Power › Misc › Custom Actor › From Stat
The Actor held in an Actor Stat.
| Field | Description |
|---|---|
| Stat | The Actor Stat (Stat From: which Actor + which key). |
Static Actor
Create › Power › Misc › Custom Actor › Static Actor
The Actor with a static Actor Id, found through PowerWorld.GetActor.
| Field | Description |
|---|---|
| Actor Id | The static Actor Id. |
Examples
| Custom Actor | Asset | Used for |
|---|---|---|
| Closest In Sight | CustomActor_ClosestInSight_3DC — Relation State Enemy, Filter TargetingFilter_Chain_3DC (alive, then closest in sight), No Fallback on | Scrap Tossers writes it into LockOnTarget while casting, then locks on only when it isn't empty and aims at the pointer otherwise |
| From Stat | CustomActor_FromEffectorStat_3DC — Stat = the Effector's AttachedActor | the Titan Greaves attach an Effector to the pushed enemy; its Effects reach the Actor it is attached to |
| Static Actor | a Custom Actor with the Player's Actor Id | a Source Separated Stat whose Process Scope only reads the Player's copy |