Download

Determine time since spawn for a given dino

Hey All!

I’ve been working on fixing bugs for my first mod, and am having some trouble with one of them. Given an instance of a dino, I’m trying to figure out the best way to calculate how much time has passed since it’s spawn time. I’ve been playing around with Get Real Time Seconds, and Original Creation Time for the Actor (subtracting the second from the first), but have gotten some odd results in a live dedicated server (PIE seems to work as anticipated though, even running as dedicated server). Is there a better way to calculate this? Thanks!