[VIDEO] (NEW UPDATE #2!) RTS (Real-Time Strategy) Example using Blueprints only.

[=ryanjon2040;114653]
Well…My HUD only draws the selection HUD. It dont select anything in world as i havent added that functionality yet.

[=Valkon;114648]
When you’re building how did you get the gray building that gets replaced by the construction location and building goes up…

In HUD i added Get Player Controller node and i connected Convert World Position to Screen and multiplied that with a large number (IIRC it was around 1500 or 2000). Using that i spawn a static mesh and when user click is detected i spawn a new static mesh at preview location and destroy the preview mesh. The build up is using Timers with swapping of various static meshes.
[/]

I was able to create a simple RTS selection box. Here is the bp http://i.imgur.com/83cy7fT.png . I tried deprojecting into the world, but there is a huge offset that I don’t know how to solve. How would you do it? Convert screen location to world space gives a really big offset.