So im new to this software but I have to use it for this course im taking. Anyways I have to follow through this tutorial and im stuck on a part where it says to put in some code which doesnt seem to be working ( the tutorial gamedevelopment.tutsplus.com/tutorials/create-an-artillery-game-from-scratch--gamedev-1587 ) If you scroll down a bit where it says to enter code into the event editor I put in the code :
360-ATan2 (Ymouse-Y ("P1Body") , XMouse-X("P1Body"))
Since I don't have the advanced directional object module thingy. I put in that line of code he said to put instead of this line of code in the P1 tank body distance to mouse value.
Distance("Advanced Direction Object", X("P1Body"), Y("P1Body"), XMouse, YMouse)
I'm really new to this software so please try to explain to me what i'm doing wrong as simply as you can , and thanks for any help you can give.