"Help!" notification on random objects

Hey, no problem. Thing is, it’s getting too complicated to debug from this end.

If you make a minimal project and leave it somewhere for download, I’ll take a look.

Do you know how to do that?

If you spawn your help signs in a separate BP or in a Level BP, you’ll have to create another array of spawned signs, and every time you want to spawn another, check which array elements are already occupied and which are free, and in this case it gets messy really fast, because you will either have to make loops in case a sign is already spawned to select a new random target point, and the more signs are spawned, the more loops you’ll have, or maybe create a third array with free indices to select from, which will ensure that a sign is spawned everytime with no loops, but keeping track of all these arrays is hard.

As I recommended above, think about having the objects spawn their own signs. This way one object will only have one sing, and it’s really easy to check and destroy the sign when needed, without having to mess around with array indices and stuff. As I understand, you can interact with these objects to fix them, so they are already blueprints; why not just add a spawn functions in them?

Just saying.

Hello,
As you had said i have used billboards to sapwn message, but i have kept a target spawner, because i was unable to figure out how make it work with your method, sorry i am just a bit more than confused half the time :smiley:

I have uploaded the project on drive, check it out if you like, Go to Maps and start any of the two

Controls
Arrow key for movements
RightCrtl for interaction

Like: Microsoft OneDrive - Access files anywhere. Create docs with free Office Online.

I have uploaded the project on drive, check it out if you like, Go to Maps and start any of the two

Controls
Arrow key for movements
RightCrtl for interaction

Like: Microsoft OneDrive - Access files anywhere. Create docs with free Office Online.

I’d make something like:

  1. On Begin Play every object that can be broken and fixed starts its own timer/delay with a random time within some range;
  2. When the timer reaches its end, the object spawns a help sign above itself, and saves it to the HelpSign variable;
  3. When you fix the object, it destroys its sign and restarts the timer with another random time.

What happens in this case is:

  • you don’t have to worry about signs spawning where they already are, because each object only has one sign;

  • you don’t have to deal with arrays and target points, since the sign location is relative to the fixable object.

Additional features:

  • after each fix, you can increase or decrease the maximum and minimum values of the random time range, so that the help sign spawns more/less frequently depending on how many times you have fixed each separate object;

  • if you create a blueprint interface, you can use multiple different objects, which are separate blueprints, without the need to Cast to each and every available fixable object, since the fix function will exist inside each individual BP and all you have to do is send an interface message to have it fixed. You get rid of the necessity to separately track each object and each help sign, because each object will handle its own individual help sign.

Sorry again for the late reply.
BTW
That’s exactly what i want “destroys its sign and restarts the timer with another random time.”
“increase or decrease the maximum and minimum values of the random time range, so that the help sign spawns more/less frequently depending on how many times you have fixed each separate object”
but i am very confused right now, where what things should in my existing project to make it happen
i have followed a few tutorials and made this, and i am also more than a bit dumb with everything else :smiley: :stuck_out_tongue:
it’ll be great if you could just have a look at it
Microsoft OneDrive - Access files anywhere. Create docs with free Office Online.

Okay, look in BP_Desk and BP_Player. New things are in colored comments. And I made a new BP_HelpSign, just in case. And I changed the justBill level too, you’ll see how in all works in there.

Also, I fixed your rotation problem. All you have to do is check Shortest Path in Lerp.

https://drive.google.com/file/d/16RDblYc6c0cGun-Iu9CAk8pPPQIfyFtu/view

dam! thanks man

Hey!
sorry for assuming ur gender XD

GRANT ACCESS plz :smiley:

Sure, granted!

Got it <3

now ill just try to tally it with my original BP & try adding the progression bar and other stuff to it