I am making somewhat contra-like map, which would have wasd movement and that you would use mouse to fire (I know, yay for originality). But I' ve run to couple problems.
While I have succeeded making missile that hits enemy on your way and deals damage to them and then disappears, and I have done mouse targeting system and I can attack ground. However, I'd like my ability to work even when my character is moving. So that I could walk my character around with WASD movement and shoot with mouse at the same time.
Secondly, I have small question about mouse targeting system. While it kinda works, sometimes my character can't seem to fire any missile at all. I made the target point using "Mouse X/Y position clicked in the world" but it seems to work somewhat weirdly. For certain directions I can fire just fine at any range but for some other directions I have to click some small specific target. Any idea how to fix this (or link to proper mouse targeting tutorial if it is possible.)
EDIT* Nevermind about that last one. I just realized it had something to do with camera bounds (Or so I believe because my test map is smallest possible and I have that targeting problem near edge of maps)
Are you using a consistent ground height on the map? If you are I'd highly recommend changing the trigger to x/y/Z and fill the Z trigger in with your ideal height of the projectiles, I know that fixed many of my own problems with projectiles going above or below where I wanted them to be heading. As for when your chracter is moving how are you calling the missiles being released? I know I've been using abilities to call them and ensuring the 'moving allowed' flag(or whatever its called, sorry bit drunk) is very important to allow for that.
I've placed that flag "Allow movement" on my ability, but it doesn't seem to be doing anything. I have basic Target effect ability that calls persistent effect that creates launch missile effect. Unit simply stops at tracks when I try to move around and shoot.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I am making somewhat contra-like map, which would have wasd movement and that you would use mouse to fire (I know, yay for originality). But I' ve run to couple problems.
While I have succeeded making missile that hits enemy on your way and deals damage to them and then disappears, and I have done mouse targeting system and I can attack ground. However, I'd like my ability to work even when my character is moving. So that I could walk my character around with WASD movement and shoot with mouse at the same time.
Secondly, I have small question about mouse targeting system. While it kinda works, sometimes my character can't seem to fire any missile at all. I made the target point using "Mouse X/Y position clicked in the world" but it seems to work somewhat weirdly. For certain directions I can fire just fine at any range but for some other directions I have to click some small specific target. Any idea how to fix this (or link to proper mouse targeting tutorial if it is possible.)
EDIT* Nevermind about that last one. I just realized it had something to do with camera bounds (Or so I believe because my test map is smallest possible and I have that targeting problem near edge of maps)
Are you using a consistent ground height on the map? If you are I'd highly recommend changing the trigger to x/y/Z and fill the Z trigger in with your ideal height of the projectiles, I know that fixed many of my own problems with projectiles going above or below where I wanted them to be heading. As for when your chracter is moving how are you calling the missiles being released? I know I've been using abilities to call them and ensuring the 'moving allowed' flag(or whatever its called, sorry bit drunk) is very important to allow for that.
I've placed that flag "Allow movement" on my ability, but it doesn't seem to be doing anything. I have basic Target effect ability that calls persistent effect that creates launch missile effect. Unit simply stops at tracks when I try to move around and shoot.