01-06-2021, 07:50 AM
(This post was last modified: 01-06-2021, 07:52 AM by josemendez.)
This is because the signature of the SetStartPos function doesn't match the signature of the event delegate. When you subscribe a function to an event, the number and type of the parameters must match. Otherwise, how would the "output" of the event be passed as "input" to your function?
declare SetStartPos as:
declare SetStartPos as:
Quote:void SetStartPos(ObiActor actor, ObiActorBlueprint blueprint)
{
print("Event triggered");
}