The Daily Click ::. Forums ::. Klik Coding Help ::. Flags shooting problem
 

Post Reply  Post Oekaki 
 

Posted By Message

Blackgaze

Possibly Insane

Registered
  01/11/2002
Points
  3161

VIP Member
4th April, 2004 at 09:37:51 -

Ok, I said about this before, but I still have not solved it.
When my enemy turns left, flag 0: off. When my enemy turns right, flag 0: on. With a few options: when flag 0: off --- shoot bullet left. When flag 0: on --- shoot bullet right. Ok? Now that should work.
But on the screen there might be two enemies or even three. They shoot left all right but when my character goes to the right side of an enemy, they still shoot left. What is going on?
* Spiderhead *

 
Formerly known as "Spiderhead".

Returned after four years.
www.youtube.com/user/sevlech for more infomation

Saven (CrobaSoft)



Registered
  12/03/2004
Points
  587
4th April, 2004 at 13:37:59 -

Ok, you prbbly already tried this. if the enemies are all the same object and they are facing different directions, it might get confused and default to left. insert 'pick one' into the when flag 0 = event.



 
You shouldn't go here, there are crazy swedes who mumble about cucumbers:
http://www.crobasoft.com

Knudde (Shab)

Administrator
Crazy?

Registered
  31/01/2003
Points
  5125

Has Donated, Thank You!Clickzine StaffKlikCast StarVIP MemberGhostbuster!Dos Rules!I donated an open source project
4th April, 2004 at 13:42:09 -

Are you absolutely sure that the enemies are facing left or right, and not one of the inbetween directions? I've run into this problem before.

 
Craps, I'm an old man!

Blackgaze

Possibly Insane

Registered
  01/11/2002
Points
  3161

VIP Member
28th April, 2004 at 11:25:39 -

sorry matt, that didn't work. any other ideas?

 
Formerly known as "Spiderhead".

Returned after four years.
www.youtube.com/user/sevlech for more infomation

Klikmaster

Master of all things Klik

Registered
  08/07/2002
Points
  2599

Has Donated, Thank You!You've Been Circy'd!VIP MemberPS3 Owner
29th April, 2004 at 12:41:23 -

Shut it Phizzy, you are starting to annoy me.
Spiderhead, do you actually have a condition telling the enemies to change position? Also why not try, "when facing left" rather than using flags

 
n/a
   

Post Reply



 



Advertisement

Worth A Click