Hey there!!!
So i have my character who has a linetrace; when it hits my door, it sends a custom event to it.
Now, the DoorBP receives the event and starts doing its things (play sound and open/close the door).
Ok till now.
Now, i need tons of doors and i want them to be instanced... for optimizing.
So i instanced a lot of the doors: Now in a BP i want to receive the same custom event... but instead of opening just one door (the one inside the bp), i want it to make references of the instance beng hit.. so i can tell him wich instance of the door it should open or close.
is there a wy to do this?¿ Someone said to me that i just needed to create a Int Variable in a Bp, so it knows wich instance should move.
But.. i dont know how to do this.
I cant reference the Hisma object, or the instances... or anything..
Anyone can help me, please?
Thank you in advance
So i have my character who has a linetrace; when it hits my door, it sends a custom event to it.
Now, the DoorBP receives the event and starts doing its things (play sound and open/close the door).
Ok till now.
Now, i need tons of doors and i want them to be instanced... for optimizing.
So i instanced a lot of the doors: Now in a BP i want to receive the same custom event... but instead of opening just one door (the one inside the bp), i want it to make references of the instance beng hit.. so i can tell him wich instance of the door it should open or close.
is there a wy to do this?¿ Someone said to me that i just needed to create a Int Variable in a Bp, so it knows wich instance should move.
But.. i dont know how to do this.
I cant reference the Hisma object, or the instances... or anything..
Anyone can help me, please?
Thank you in advance

Comment