Hey folks,
I got stuck at this problem for more than 2 days. I’m desperate and I don’t know what to do. Please help me.
I want to make a function to switch the windows in a house when the window is hit by a line trace. The player can also use it to select a window to resize it.
What I did so far was making all the original windows into an array and when the line trace hits it, the blueprint will get the selected window’s location and switch it to a new one. Where I got stuck at is that the window doesn’t let me resize it for some reason. You can see my blueprints below:
I tried to use a “contains” and “find” node for the array. But it says that component type is not compatible.
Here’s a screenshot of my line trace blueprints:
I’m new to blueprints and I’ve been spending a lot of time searching for the a solution online and tried everything I could do. But the blueprints are still not working. I will very much appreciate if anyone can point me to the right direction on what I did wrong. Please let me know if I can provide any further information if it helps to solve the problem or make the question more clear.
Thanks in advance!