Hi, my goal is:
in multiplayer game make localy invisible enemy characters until they come in sight of your character
What i tryed:
on 3d sidescroller template added cone to character blueprint and changed it’s collision settings 2015-06-30 02-22-03 Скриншот экрана.png — Yandex Disk , also added 2 overlap events to cone “On Component Begin” and “On Component End overlap”
character capsule collision settings 2015-06-30 02-21-27 Скриншот экрана.png — Yandex Disk
In character blueprint i try compare owners of cone and pawn that overlaped with simple code 2015-06-30 02-25-19 Скриншот экрана.png — Yandex Disk
Problem:
during test client can’t get “other actor” owner and server can’t get owner from “get player character” at index 0 2015-06-30 02-26-09 Скриншот экрана.png — Yandex Disk
Any ideas what wrong or how else compare pawn owners to not hide your own character that overlaps with cone and hide enemy character on “Event begin play”? (this event executes 4 times total, 2 times on each side client/server once for every character)