The Daily Click ::. Forums ::. Klik Coding Help ::. Need help.
 

Post Reply  Post Oekaki 
 

Posted By Message

Toxic



Registered
  02/11/2004
Points
  61
9th November, 2004 at 20:15:43 -

I'm using TGF, and I was wondering how to stop an object from shooting in a certain direction, or stopping the player from being able to aim in that direction.

 
Look me in my brand new eyes.

Yami



Registered
  23/12/2003
Points
  608
9th November, 2004 at 20:24:03 -

Just pick a time or w/e for example. Every second active object1 shoot acitve object2 and select a direction. All you have to do is not select the directions you dont want it to go to and select where you do want it to go to. You can also select it to shoot in the direction of an object.

 
Image

Toxic



Registered
  02/11/2004
Points
  61
9th November, 2004 at 20:28:49 -

I know that, it's just I have it set to eight directions so the player can aim diagonally. The only problem is he can aim up and down too, which I don't want.

 
Look me in my brand new eyes.

Yami



Registered
  23/12/2003
Points
  608
9th November, 2004 at 20:35:00 -

You got it on all directions? Just click on the arrows and it will disapear or reapear depending if its visible or not.

 
Image

Toxic



Registered
  02/11/2004
Points
  61
9th November, 2004 at 20:36:44 -

I don't think you understand... the character that shoots the object is set to have animations for eight directions, but I don't want it to shoot up or down.

Image Edited by the Author.

 
Look me in my brand new eyes.

Yami



Registered
  23/12/2003
Points
  608
9th November, 2004 at 21:21:04 -

I told you where it shows the arrows pointing in all directions just click on the top and bottom and they disapear and then click ok.

Image Edited by the Author.

 
Image

Toxic



Registered
  02/11/2004
Points
  61
9th November, 2004 at 22:42:44 -

If you do that it will shoot it out of a random direction from the ones checked.

 
Look me in my brand new eyes.

Yami



Registered
  23/12/2003
Points
  608
10th November, 2004 at 13:59:55 -

If you want them to shoot all at same time make every second shoot this direction the make another action selecting another. Just make each action one direction.

 
Image

Noyb



Registered
  31/05/2004
Points
  1117

VIP Member
10th November, 2004 at 17:33:02 -

(Assuming default movement):
Fire2 (or whatever button to shoot) is pressed + Player isn't facing up + Player isn't facing down: shoot bullet in direction of player.

 
"Omg. Where did they get the idea to not use army guys? Are they taking drugs?" --Tim Schafer on originality in videogames
   

Post Reply



 



Advertisement

Worth A Click