How to move camera with keyboard

Forum Home Forum Home > Construct 2 General > How do I....?
 Post Reply Post Reply Page  <12
Author
441 Rep
Post Options Post Options   Quote tribalismdev Quote  Post ReplyReply Direct Link To This Post Posted: 20 Nov 2011 at 7:38pm
Thank you Kyatic. I have one last question then I should be out of everyone's hair for a while. I'm trying to set up a pointer on a HUD layer that will always point to an object's location, kind of like a map marker, but I can't seem to get it to point at the created object. The way I'm trying to set it up is like this:

EveryTick
If ObjectIsPlaced = 1

then Set pointer angle to Object.X , Object.Y

When ran it just points in a random direction and stays there. =\
Back to Top

Moderator
29,636 Rep
Post Options Post Options   Quote Kyatric Quote  Post ReplyReply Direct Link To This Post Posted: 20 Nov 2011 at 8:21pm
If you have several instances of Object, the pointer will pick the very first one.
Unless you pick the target object before to make sure it is its coordinates that are given to Pointer.

You should post a capx (save to single file) to illustrate what you currently get instead of the intended as you described it.
Back to Top
 Post Reply Post Reply Page  <12

Forum Jump Forum Permissions View Drop Down