Ok, so the previous issue was that the Pawn was not possessed. But is possessed now, right? And the input works?
to know which pawn
You’re mixing things up a bit so it might be difficult to follow. To clarify:
a Pawn is the entire puzzle actor
that Pawn has 3 static meshes you can swap between
So when you say:
how to highlight them to know which pawn am currently on like the picture up
You probably mean which mesh, not which pawn - can you confirm?
If you’re using the light component to indicate the currently selected mesh, you could move the light to the location of the selected static mesh component. You could use relative location since both the mesh and the light belong to the same actor.
You should seriously consider studying elementary tutorials to save time. At this pace this is going nowhere. You’ll get frustrated sooner rather than later. Been there, done that. Too many times.
You asked for advice, I hereby advise - - Keep on reading if that’s not what you wanted hear.
If you want to keep going - you should definitely post the script. You only need 1 light, no need to complicate things, no need for flip flops
providing the light is off, you can turn it on when the pawn is possessed like so:
here’s what I mentioned above - see if you can fit this into the existing script:
Skip down if u want
First thanks. this have been a problem that been on my mind and I need to learn it because I want to make a open puzzle adventure game and I know it will take me up to 3 or 5 years to learn ue and make the game. Here the pic of the blueprint it working well
Now when I select the mesh need to make it rotate.am going to work on that(going to take a while to figure it out but it will be fun)
If I have a problem am going to still need your help XD. I just want to master blueprint before I go to HUD and landscape lastly thanks for the advice really helpful
It working and when am in mesh 2 pressing the key will take me back to zero but I want to go back to mesh 1?
am learning a lot about blueprint and the rotating stuff am done it.but it not good Cant pass -90° and them it start misbehaving
Thanks for the project file.
is it possible to limit the rotation like when the player press v to rotate-90 and then press z to rotate 90.in your project file as I kept pressing it at the same time it just stay one place (i know the player will stop pressing the key at some time I just want to know if there is a way to fix it tho) using dely not work
Have also try setting the 3 mesh to specific rotation it like this: I get the mesh then get the relative rotation and use == which make it to a Boolean and then i print it out but it was working for each mesh.have try using the array then get a length but it still work for the 3 mesh. What am I doing wrong?will I use a “foreachnode”
Thank u in advance for helping a noob
The reason y I replied late was that learning how to push a box with animation which is a bit hard to understand but I will get there