Nanassxx
(Nanassxx)
March 6, 2023, 12:06am
1
Hello,
In my game, I need to pick up items. I already made the system to pick the item up (pick on E, put on J)
I need the original item on the table to disappear on E and show again on J:
But right now, when I pick the item, nothing happens, and I never found out why,
Here are my blueprints. I’ve set up an Interact Item function, and wanted to add to the existing system the show-hide system.
I’ve been stuck on this for three days, so help would really be appreciated,
Thanks!!
I guess there is a problem with ref to the static mesh
Try IsValid node to check it
1 Like
Nanassxx
(Nanassxx)
March 6, 2023, 8:47am
3
Hey, I tried this:
And now, the item is hidden on E, but never shows up again on J: what’s the problem? The flip-flop maybe? Is there another way to solve this?
You missed the static mesh ref on the showItem case
Nanassxx
(Nanassxx)
March 6, 2023, 8:56am
5
Hey, I repaired it but It still isn’t working: maybe it has something to do with the flip flip not working? Like it never triggers the show item? I don’t know
Nanassxx
(Nanassxx)
March 6, 2023, 9:16am
7
Something even weirder happens: it does noting on J key, but when I press E again, it shows. Like the toggle is done only on the E key, even thought I set it on J.
Nanassxx
(Nanassxx)
March 6, 2023, 10:13am
8
I found another way to solve it on only the E key, thank you:)
1 Like