Can anyone offer advice about four actors of the same animation?

IntelligentDesignerIntelligentDesigner Member Posts: 517
edited November -1 in Working with GS (Mac)
I have four in a scene, and I want to fade one out using alpha - How do I differentiate them? They are all "clones" of the same actor.

Anyone got an idea on this?

TIA

Comments

  • carlos.varela.comcarlos.varela.com Member Posts: 99
    What is the event that will start "fading" that actor, a time, a touch, a collide?
  • IntelligentDesignerIntelligentDesigner Member Posts: 517
    A time, based on a game attribute in a prior scene. I want to be able to fade any of the four, based upon an earlier selection.

    Seems like they'd have an instance index or somesuch...
  • ChaserChaser Member Posts: 1,453
    Personally I would have them look the same but give them different actor names then depending on your condition ex. Touch actor 2 in scene 1 Change game attribute to 1 so in scene 2 when game attribute is 1 for whatever second actor do fade. For the other actors if game attribut is 3 or 4 fade different actors Or you you could make several game attributes that each actor would rely on for either being 0 or 1
  • carlos.varela.comcarlos.varela.com Member Posts: 99
    I am not sure, but maybe if you have a game.attribute.count for example, on your spawner for every object that you instance you can increment first the game.count and inside the actor you can set a self.whoIAmNumber attribute with game.count+1, but the problem is how you can access that new number again in order to fade it.
  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    I create an actor attribute called, self.whoami
    And for each instance I just change only the attribute to a different number. (no need to unlock the actor)
    They all would have the rule,
    RULE: If any: Attribute self.whoami = game.WhichOneISelectedToFadeOut (feel free to shorten that name)
    Interpolate self.Color.alpha , 0
  • IntelligentDesignerIntelligentDesigner Member Posts: 517
    Thanks Guys, I will try these.
Sign In or Register to comment.