Clickteam Fusion 2.5

Clickteam Fusion 2.5

seanjhardy Apr 11, 2017 @ 12:15am
selecting an object with reference to its alterable value?
selecting an object with reference to its alterable string
I am creating a program which has multiple intances of an object. the user types in a text box and that text is set as the global string A. I created an event which looks like this:

if Alterable string A of object <> global string A
create object
set alterable string A to the global string A

But when typing in the same thing twice, a new object is created even though it should recognise the alterable value as the global value and run another event I have. This may seem quite complex but all i want is to check if any of the objects have that string, but this does not occur.
< >
Showing 1-1 of 1 comments
kisguri  [developer] Apr 11, 2017 @ 9:35am 
So you could use a On Each Object Loop found under Count. This action & condition allows you to itterate through each instance of a specfic object or qualifer and do comparisions. Perhaps you could do it like this...

Set A Value to Zero
Do One Each Object "Compare"
On "Compare" & if Alterable string A of object = global string A set Value to 1
If Value still equals zero create new object

< >
Showing 1-1 of 1 comments
Per page: 1530 50

Date Posted: Apr 11, 2017 @ 12:15am
Posts: 1