The Daily Click ::. Forums ::. Klik Coding Help ::. Targeting someone with the lowest alterable value
 

Post Reply  Post Oekaki 
 

Posted By Message

Tristan Clark



Registered
  28/07/2003
Points
  159
17th April, 2005 at 01:01:14 -

Hi guys,

I was just wondering if it's possible to have a bunch of objects with different alterable values and then have another object attack one of these based on whose value is lowest. I'm making a turn-based strategy-type battle engine, and would like the bad guy to attack the good guy with the lowest HP.

Cheers.

 
n/a

Destroyer (CrobaSoft)



Registered
  10/10/2004
Points
  1106
17th April, 2005 at 04:01:32 -

i made a quick example.
http://n.1asphost.com/destroyer84/pick%20lowest.cca

 
Visit www.crobasoft.com or you're a Noob.

Sketchy

Cornwall UK

Registered
  06/11/2004
Points
  1970

VIP MemberWeekly Picture Me This Round 43 Winner!Weekly Picture Me This Round 47 WinnerPicture Me This Round 49 Winner!
17th April, 2005 at 12:02:33 -

the value finder extension is good for that sort of thing

 
n/a

Tristan Clark



Registered
  28/07/2003
Points
  159
17th April, 2005 at 16:02:13 -

Cool, thanks for that extension Destroyer, most helpful.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click