Rule:Return Actor Node

From Intrigues Wiki

Description

Return Actor Node
By creating a method in the specified format, you can reference any actor of your choice. For instance, if you want to reference the Heir of a Conspirator, the Return Actor Node will facilitate this for you.
[GetActor("Get Heir")]
private Actor GetHeir(Actor conspirator, Actor target) {
    return conspirator.Heir;
}

- The difference from the default version lies in the parameter used in the method.

» The method must return a value of the Actor type.

» The method should be marked using the [GetActor] attribute. (Using this attribute, you can give a specific name to the method.)

Outputs

» [Actor]: Transfers the referenced actor to the next node.

» [Null]: If the method returns a null value, the flow continues from here.