Download

How would I implement mouse click-driven movement?

I’d like to make a simple top down RPG with controls like you’d see in an RPG like Baldur’s Gate or a Real Time Strategy, but as a complete Unreal Engine newbie I’m unsure how to implement this.

The mouse interface example appears to be partly what I want to do, but I’m not sure how to extract the collision point of the cursors ray cast (which I could then be used as the destination for a selected Pawn).

The top-down project available in the Unreal Editor does just that. There’s both a blueprint and code version of it.

Derp, Thanks! :smiley:

This is one of the things I like best about UE4. The game templates it comes with out of the box. Having boilerplate controls for the major genres is pretty awesome.

And we have more coming in future!

Are you going to make a 3rd person RPG template?