Change attributes from other actor

How can I change attributes from other actor...

> playing or pressing Actor 1

> Actor 2 change alpha color.

Comments

  • SolarPepperStudiosSolarPepperStudios Member Posts: 754
    You need to unlock the scene attributes in both of the actors and then say:
    when button is pressed, change current scene.layer.actor2.self.alpha to X
    X = the alpha color.
    Hope this helps! :)
  • doug_smuppetdoug_smuppet Member Posts: 99
    unlock the scene attributes..? how can i make this?

    I'm not very good with GS.. I'm beginner
  • SolarPepperStudiosSolarPepperStudios Member Posts: 754
    edited March 2013
    @doug_smuppet Ok so here is the order in which to do that:
    1. Drag both actors onto the scene
    2. Double click the button and click the big lock
    3. Create the rule mentioned above
    4. Go into your other actor (actor2) and unlock it.
  • doug_smuppetdoug_smuppet Member Posts: 99
    @Utveckla_Games oohh.. it's worked... i've tried make this on (Prototype)

    thanks a lot ;)
  • SolarPepperStudiosSolarPepperStudios Member Posts: 754
    @doug_smuppet No problem! Glad to help! :)
Sign In or Register to comment.