Set a variable if a BP actor enters a trigger volume

Hi everybody! I’m using this variable called Speed as a multiplier to make my bus drive faster or slower along a spline.


So, I’d like for this speed to be set as the bus goes approaches a bus stop. The default is 400, and I want to reduce that to 100 for people to hop on and off while the bus is in front of a bus stop. Can anyone recommend a tutorial for this?

Thx ^ ^

I cant really recommend a tutorial but I’d say the best solution would be to place a collision shape around the area you want the effect to occur in, then when you click on the collision component to see its detail, scroll to the bottom of the details and there should be loads of green plus signs, click the one labelled event on overlap or something similarly worded and it should place an event within your blueprint, you can change the variables you want to change there and it should do that whenever something overlaps it.

if you want it to only change when a specific thing overlaps it then when there’s an overlap, you can get the overlapping actor and check to see which it is, if it is the right one change the value, otherwise dont