Download

Help with loss of 'Get Random Point' function?

Hello!

I’ve been experimenting with UE4, and I have been following an excellent series explaining how to create AI. The problem is, it requires the ‘Get Random Point’ function, which was removed post 4.7. The most current patches are 4.10 and 4.11, and I don’t think it is reasonable to try making a game in a version 3 or 4 versions old at this point. Does anyone know how to get around this issue?

The video in question can be found here.

Have you looked at the two functions mentioned in the following thread?

https://forums.unrealengine.com/showthread.php?93587-Get-Random-Point-in-UE4-10

I have, but I am afraid it still confuses me. I get the radius bit, but I have no idea what to do with the origin.

The origin is simple the world location to get by.

Pass in actor location; it should suffice.