The Daily Click ::. Forums ::. Klik Coding Help ::. Help - hard code question..
 

Post Reply  Post Oekaki 
 

Posted By Message

Fanotherpg

I'm living proof

Registered
  26/06/2004
Points
  522

Game of the Week WinnerKlikCast StarHas Donated, Thank You!Second GOTW AwardVIP MemberHasslevania 2!The OutlawPokemon Ball!Evil klikerComputer
I am an April FoolI donated an open source project
11th November, 2006 at 16:06:07 -

It's again me.. I just want to ask do you know how to check if object hero with alterable value A=1 is in 2 px field near object hero with alterable value A=3.. If you don't understand I'll add screenshot..

 
www.therpg.pl

Joe.H

Evil Faker

Registered
  19/08/2002
Points
  3305
11th November, 2006 at 16:08:45 -

distance formula:
square root((X1 - X2)² + (Y1-Y2)²)

in this case X1 and Y1 would be hero with alterable value a=1, and the other would be alterable value a=3

 
My signature is never too big!!!

Fanotherpg

I'm living proof

Registered
  26/06/2004
Points
  522

Game of the Week WinnerKlikCast StarHas Donated, Thank You!Second GOTW AwardVIP MemberHasslevania 2!The OutlawPokemon Ball!Evil klikerComputer
I am an April FoolI donated an open source project
11th November, 2006 at 16:22:14 -

Them I don't really ask for that.. this x and y wouldn't work because I've got planty objects with A=1 and A=3... http://fanotherpage.republika.pl/3.PNG last 4 lines are for checking where is one object and where second but I've got problem to precise in this event that this under 1 is with value A=3 and on under 2 with value A=1.. Please help I really need this

 
www.therpg.pl

Fanotherpg

I'm living proof

Registered
  26/06/2004
Points
  522

Game of the Week WinnerKlikCast StarHas Donated, Thank You!Second GOTW AwardVIP MemberHasslevania 2!The OutlawPokemon Ball!Evil klikerComputer
I am an April FoolI donated an open source project
11th November, 2006 at 16:57:39 -

It could be even in two, three, four, five events but it have to work and check if object 1 with value A=1 pos and object 1 with value A=3 pos :/ Is there any possibility withnout any Fastloop etc. (no extensions )

 
www.therpg.pl

Christodoulou Apps



Registered
  28/07/2003
Points
  1943

VIP MemberPS3 Owner
12th November, 2006 at 05:27:36 -

My friend it's impossible to do this without any extensions on mmf.

 
n/a

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
12th November, 2006 at 06:13:39 -

That's bullshit. Just mess around with the distance formula and some fastloops.

 
n/a

Fanotherpg

I'm living proof

Registered
  26/06/2004
Points
  522

Game of the Week WinnerKlikCast StarHas Donated, Thank You!Second GOTW AwardVIP MemberHasslevania 2!The OutlawPokemon Ball!Evil klikerComputer
I am an April FoolI donated an open source project
12th November, 2006 at 07:24:24 -

That object value A = 3 brokes event.. And I don't know how to check that second value...

 
www.therpg.pl

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
12th November, 2006 at 08:11:28 -

I don't get what you're asking at all?

 
Old member (~2004-2007).

Fanotherpg

I'm living proof

Registered
  26/06/2004
Points
  522

Game of the Week WinnerKlikCast StarHas Donated, Thank You!Second GOTW AwardVIP MemberHasslevania 2!The OutlawPokemon Ball!Evil klikerComputer
I am an April FoolI donated an open source project
12th November, 2006 at 10:48:45 -

So other question I make it somehow.. And it works changing events and adding for each object one more control value (thanks God for MMF A-Z values). If I have a Object 1 which is create for example every 1 second and his got two values B and C. And after object creates B and C are setting we say random.. And every 1 second If value B is different from Object 1 X position and C from Object 1 Y position. Object moves to get B=X postion of Object 1 and C=X position of Object 1. And I've got problem that when second Object B is creating and is setting his value B and C to different values that first one first also changes them !! And even when I add B value of Object 1 = 0 and C value of Object 1 = 0 pick one of Object 1 this first changes his values

If you don't understand this http://fabrykagier.phpnet.us/1.gam it's a gam file. And I want that a Object 1 sets always random place but if it's setted that he won't work..

Image Edited by the Author.

 
www.therpg.pl
   

Post Reply



 



Advertisement

Worth A Click