Can't understand what is wrong with my blueprint movement script
I was working on simple rts game prototype for some time and I stuck at the movement step.
First I made a simple unit selection script and a unit blueprint, which worked nice! Secondly I tried to do right mouse movement a-a-a-nd..Im stuck.
When Im pressing right mouse button I can see (with the help of breakpoint) that my "cast to landscape" and "foreach loop" + "move" command is working. Also I get some location info from "Break hit result". But, after i pressing "step" it shoots again all of this blueprint chain with location vector = zero. What is wrong?? Why it startes again?
asked Nov 19 '14 at 04:59 PM in Blueprint Scripting
If you are trying to get movement to a location based on mouse click you may want to take a look at the MyController blueprint in the Top Down template. Setting the trace channel to visibility rather than camera and having a "Simple Move to Location" rather than "Move" are a couple of differences that may help to look into to get the behavior you're after.
answered Nov 19 '14 at 07:30 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here