Conditions

  • Events name must start with "OnLengthChanged_".

  • The Variable must be public.

  • After "OnLenghtChange_" events name and array variable must be the same.

  • Events name are case sensitive.

Steps:

  1. Click ADD NEW button. Select blueprint.

  2. Add an Actor Blueprint Class. Open it.

  3. Open event graph.

  4. Add ZD ACTOR component.

  5. Add a new variable from the Variables section under My Blueprint Tab. Make it public and change it as array.

  6. Add a new "CustomEvent". Right click and write "Add Custom Event". 

  7. Name must be "OnLengthChanged_MyBooleanArray". (As you can see variable name and event name after "OnLengthChanged_" is same.)

  8. Add nodes as shown in below image.

  9. When we add a new value into "MyBooleanVariable" array  the events will print length of array. This is the basic code for understanding how its working.

  10. Add ActorBlueprint to scene.

  11. Click PLAY  button and open Reality Setup.

  12. Select MyActorBP node.

  13. .As you can see actor blueprint appears in Reality Setup. Thanks to ZD ACTOR component.

  14. Array variable also appears in properties tab of MyActorBP.  Because we made it public variable.

Result