Multi-floor elevator problem using variable-controlled timeline

It appears that the event fires, and the temporary empty function is created, but after that the function is ignored and nothing gets fired past the NewFloor variable… :frowning:


All the code logic for moving to the floor needs to be in the OnRep function… just like I did in my example. OR called by that function.

Maybe i’m not understanding right… this is what needs to be in the OnRep function, correct?
Other than that, everything else is in the event graph. Is there anything else that might be interfering with the variable not being able to access the OnRep function?

I was ultimately able to modify your blueprints to just the behavior i needed for this elevator, by removing the replication part, as i do not plan to make this a multiplayer game, at least not for this instance. I’ll still be working on it and testing it, but so far i can safely assume this is the solution to my objective :slight_smile:




I think the issue is you created a function for the OnRep event vs letting the editor create and bind one to the repnotify variable “New Floor”. That being the case when the new floor variable is modified on the server it won’t call the function.

For knowledge/practice create a new variable and set it to repnotify. You’ll see the editor create the function.

You’re probably correct. I’d have to spend a bit of time learning more about how OnRep and replication works, within the context of a multiplayer setup.
For this project in particular, it’s just hard to experiment with replication as much because of all the existing systems heavily geared towards a single player experience.

I’ll definitely make a point to create maybe a new test project sandbox where i can freely mess with blueprints.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.