#I'm gonna be missing something dumb aren
1 messages ยท Page 1 of 1 (latest)
You're right, good call
this looks fine to me
I assume TotalSpawnCount has a valid amount ?
so does SpawnFrequency ?
And "Speed" ?
Oof, okay lemme bump it up and see if they spawn
(they should still spawn)
Lifespan is incorrect
should be Lenght / Speed
gives you a value in seconds
changed the addition to division, upped the speed but am met with , the value returning error is at 150 - is that also drastically too low?
i was wrong its the spline ref variable (woulda seen that if i didn't clip out the important part, eh?)
so, does the thing spawn at all?
negative, no dice
here ya are
does it have a visible mesh aswell?
i've no skeletal mesh assigned!
I need to get a banana for scale
i'm gettin' the same error on the spline ref in the truckBP, i must have something messed up in the SplineBP?
she's still there, i'm still gettin' errors Here's the splineBP... am i not passing on the spline itself correctly?
you are, but im seeing one animal at editor time
and that one will ofcourse not have the correct spline ref
if you want it to work
you must select it in the editor
then find the details panel
then find the "SplineRef" variable
select the "picker" next to it
and pick the spline in the level
The animal is the skel mesh in the SplineBP, not the actual actor being spawned - if that matters
though i've no spline ref to select
heard, swapped that but still met with the error over in TruckBP (which does have a mesh)
the Splineref in the TruckBP is fed during spawn
Is this your general "Truck BP" ?
that you've spawned in the level manually?
I did reuse an old asset that didn't have much in it - i'll make a quick character and just throw the alpaca on it
Its fine i was just curious
heard
all those spawned manually will ofcourse not have the spline ref
so they will toss errors
just move the "tick" validator to before CurrentDistance is set
since we're using it to read the spline length
that should remove all the errors
We're cookin', errors are gone but i see nothing spawning. Let me throw a print string in there and see if its atleast alive
! good call
print string successfully triggers after spawn actor in the spline, i messed with the spawn scale to make sure it wasn't massive or the size of an atom but that doesn't seeeem to be it
it does however delete itself after awhile during simulation
MAAAAAAAAAAN
i forgot to reset the default actor after switching the bloody variable in the splineBP (it's back to local i was desperate ๐ )
๐๐๐
what happens on discord stays on discord, got it?
what does Current Distance do, by the way?
A modern Synecdoche, for sure. Polanski would be jealous.
Ah! I should leave that variable at zero then?
Y
I have no idea to be honest
Feel free to test it
Set it to 200
See what happens
It will jump to 200cm onto the spline ^^
ooooooohhhh
last little thing and i think i'm... i'm good. Holy crap the progress made in 2 hours it's unbelievable.
It seems my spline deletes before all 3 actors spawn and complete their loop. I have this in the Truck_BP
nope, as far as my (admittedly bad) eyes are aware i'm just as your code is - it'll spawn 2 actors and then after say... a second they just fall, spline goes byebye and the third actor spawns at 0,0,0
i tried making it an open loop and some other junk, but it seems to happen exactly the same way errytime
Yup! While the truck had a health variable already - the spline is fresh
Check Class defaults ->initial lifeSpan
ah, set to Zero. is it safe to make a variable of that or could i potentially create issues later?
0 is fine
ah heard, troubleshooting
yeaaah.. i changed the spawn frequency to see if it would stay alive if it took ages to spawn something but even then it pops outta existence after a second or so ๐
i put another one in the world map and they decided to work
Huh
good enough for me
Oh damn ๐
Might have touched instanve settings then ๐คฃ
Ah well all good
Better story yet to unfold
And never be told ๐ฆ
shoulda reset the instance first to see!
hey, give it a few years and eventually it can be another project one of us starts and ... probably never finish. 
Thats the life of most gamedevs ๐
I'm just glad to be away from any engines using Visual Basic 6 ๐คฃ learning unreal has been a whoooole new world
well best of luck in it! And with your game ๐