?Is Valid - Help!
Hello again. I want to know how can I put ?isValid node when I use Debug draw line on blueprint? I'm using blueprint image below:
https://www.dropbox.com/s/neecmfx3xjfebq1/Captura%20de%20tela%202016-06-12%2019.00.59.png?dl=0 https://www.dropbox.com/s/morff7b9mkde2af/Captura%20de%20tela%202016-06-14%2012.34.59.png?dl=0 https://www.dropbox.com/s/l61oo9mhbatw65s/Captura%20de%20tela%202016-06-14%2012.35.50.png?dl=0 https://www.dropbox.com/s/c07wrfx7vyaieac/Captura%20de%20tela%202016-06-14%2012.36.28.png?dl=0
PS: I'm using mesh component 'start from draw debug line and 'end for +vector from the direction of AI character.
If someone can help with this!
PS: I want to use isValid because have an error like "Accessed None trying to read property CallFunc.....from node Debug Draw Line... I've already have it -> the branch with 2 output (true and false) after isValid. What I want to make is that the when AI character to approach the player draw a line on the ground (own foot) to show it is working - this is why i'm using draw debug line.
So you say you want to use isvalod when drawing a line. I am not sure why, as isvalid simply means is there a value in that variable. I am guessing you mean that you are line tracing, and you only want to run code if the trace hit something. If that is true, than you will want to drag out from the red Boolean output of the line trace and type Branch. The branch has 2 outputs. One is if the line hit something, one is if it didn't.
I am sorry if this seems as though I assume you are stupid, I do not.
Hope this helped!
answered Jun 12 '16 at 10:28 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here