The Daily Click ::. Forums ::. Klik Coding Help ::. Search My Alterable Strings?
 

Post Reply  Post Oekaki 
 

Posted By Message

viva/volt

Awesome Sauce

Registered
  26/08/2006
Points
  1694

Game of the Week WinnerSilverNova MemberKlikCast StarVIP Member
5th April, 2007 at 03:58:16 -

Say I want to search through all my objects and find which one has an alterable string A of "object" then create one of this object, how would I do it?

I can't think of any way... Anyone know?

 
Image
http://bfollington.tumblr.com

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!
5th April, 2007 at 04:10:41 -

Spread a value through the object to make all instances of this object unique, then loop through them looking for the string "object" in their alterable string.

 
Old member (~2004-2007).

viva/volt

Awesome Sauce

Registered
  26/08/2006
Points
  1694

Game of the Week WinnerSilverNova MemberKlikCast StarVIP Member
5th April, 2007 at 04:21:01 -

Err... Crap I didn't mention there are differant objects... grr...

 
Image
http://bfollington.tumblr.com

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!
5th April, 2007 at 04:25:10 -

Then it'd become more difficult. You'd have to create events for all of these objects to check through them, and use a loop to make sure it's still a bit quick (like if loop = 4: spread a value and loop through instances of this kind of object).

 
Old member (~2004-2007).

viva/volt

Awesome Sauce

Registered
  26/08/2006
Points
  1694

Game of the Week WinnerSilverNova MemberKlikCast StarVIP Member
5th April, 2007 at 04:43:10 -

Thanks I'll try that.

 
Image
http://bfollington.tumblr.com

viva/volt

Awesome Sauce

Registered
  26/08/2006
Points
  1694

Game of the Week WinnerSilverNova MemberKlikCast StarVIP Member
5th April, 2007 at 04:45:22 -

Thanks I'll try that.

 
Image
http://bfollington.tumblr.com

Flava



Registered
  30/07/2002
Points
  684

Has Donated, Thank You!Code MonkeyVIP MemberThe Cake is a LieThe Spinster
5th April, 2007 at 04:52:11 -

I'm not completely sure I understand - but couldn't you just add a qualifier to all of the objects, then just use:

+ Alterable string A of qualifier = "object"
- Create object blah blah..

Please tell me if I am completely misunderstanding..

 
This is a signature. Have this one on me.

viva/volt

Awesome Sauce

Registered
  26/08/2006
Points
  1694

Game of the Week WinnerSilverNova MemberKlikCast StarVIP Member
5th April, 2007 at 04:58:35 -

That'd work except I have to create the object that has that as it's alt string A too... I don't know how to find THAT bit now...

Thanks a lot though

 
Image
http://bfollington.tumblr.com

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!
5th April, 2007 at 06:24:58 -

Oh yeah. I never use qualifiers, so I didn't think about that. But yeah, finding the correct type of object in the mess becomes more difficult.

 
Old member (~2004-2007).
   

Post Reply



 



Advertisement

Worth A Click