Could you explain this part of the code to me?

If I took a little c++ and poo, but I find it difficult to understand, please if someone took the trouble to explain, I would appreciate it very much.

if (GetWorld()->GetTimeSeconds() - LastDoorOpenTime > DoorCloseDelay)
{
CloseDoor();
}

I assume my answer here Where is the actual Delay code? helped you?

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

Privacy & Terms