Hi guys, I need to do something very specific and I don’t know how, so if you be so kind to help me, i will be very grateful.
I need a blueprint to assign to several actors (meshes) a property to change material with a mouse click over it. For example a Wood Wall change to a Concrete wall doing click over the mesh.
The second that I need for the same meshes is show a specific text in HUD when the mouse pass over the specific mesh, with “mouseover” property. At the same time, when the cursor (crosshair) is passing over the mesh, change the drawing of the crosshair for something like “finger” or “clickable”.
The meshes are six in total.
Hi MarcAndreG, I watched all the videos and now I understand the concept of variable and how can I create it, but I still having doubts about a lot of things.
The first thing that I’m trying to do is change the mouse cursor image (a custom image) when pass over a specific mesh. I know that I have to intervene 3 differents blueprint: Mouse_Controller, HUD and Mesh Blueprint (seeing how do I built my demo).
In the Mouse_Controller BluePrint I created two variables: “Mouse Pointer Image” (change the image of cursor) and “Shift Mesh” (variable that represent the mesh that makes the mouse’s cursor changes when it’s over it).
And two Events: “Begin Mouse Over” and “End Mouse Over”.
Basing on my low knowledge I think (in logical terms) would be like:
1.- Mouse pass over the mesh (Event happen)
2.- The Mouse Cursor change its image.
Following this, I connect “Begin Cursor Over” with “Set Mesh” with “Mouse Pointer Image”, but I receive an error: “Literal values are not allowed for array parameters”
I understand that I’m connecting nodes from different nature between them, but I don’t know how connect them or what conversor node have to use.