Populating meshes exactly along spline points - but adding gaps

I have created a BP that populates instanced meshes along a spline - at specific spline points.
What I can’t work out is how to program a ‘spacing’ function so that a variable can control how many instances actually appear - allowing for regular gaps along the spline.

Use case - adding points to the spline creates the poles. This is as desired.

The little raccoon signs are a second mesh using duplicates of the same nodes - what I want to be able to do is change the racoon frequency to be every other post or every third or forth post or whatever…

Here is the relevant part of my BP - there is a variable to enable a twist on the posters - but I just can’t work out how to affect the number/spacing of them while still keeping the ones that do appear at the exact points of the spline.

Any help would be welcome!

Thanks

Hey, you should try something like this:

The Mod(%) operator checks the remainder of the division, so if you use 2, it means that every two indexes the remainder will be 0, so you know when you should spawn or not. If you change it to 1, it means it will always will spawn the top board.

Additional notes:

  • I advise adding a value range to the variable so it can only be set to greater or equal to 1.
  • Usually this is called Phase instead of Frequency.
  • You can create another variable and use it as an offset by adding it to the Phase before the Mod operation.

This works perfectly - exactly what I was looking for - thanks so much!