TIMER to Change Over 100 Actors to ALPHA (problem)
So I have a timer which starts after 0.5 seconds of the scene which has over 100 rules all doing the same thing but with 100 different actors....i was hoping there might be away to have one rule that does ALL :
Change Attribute:
Scene.Background.ACTOR1-ACTOR100.Colour.Alpha To: 0 (can this be done) What code?
At the moment I Have
Scene.Background.ACTOR1.Colour.Alpha To: 0
Scene.Background.ACTOR2.Colour.Alpha To: 0
Scene.Background.ACTOR3.Colour.Alpha To: 0
And so on, Any help as really struggling to copy and paste attribute.
Thanks
Change Attribute:
Scene.Background.ACTOR1-ACTOR100.Colour.Alpha To: 0 (can this be done) What code?
At the moment I Have
Scene.Background.ACTOR1.Colour.Alpha To: 0
Scene.Background.ACTOR2.Colour.Alpha To: 0
Scene.Background.ACTOR3.Colour.Alpha To: 0
And so on, Any help as really struggling to copy and paste attribute.
Thanks
Comments
then in each prototype actor make a rule
When game.alpha is true
Change self.color.alpha to 1
--Otherwise
Change self.color.alpha to 0
Then just have your timer in a single controller actor
After 0.5 seconds
Change game.alpha to false
100 actors in one scene is going to be hard on performance just an FYI.
When you say "prototype Actor" Do you mean go in to all the actor separately and edit with that rule ?
Could I tag all the actors ??? then do it from a Tag. Or does Tag only work with the Collide rule
Thanks for the Tip about the performance
You'll need to put the rule tenrdrmer said in each actor.
Learn something New Every day on here
Such a beginner