changing actors attribute according to what scene it is in

hazahaza Member Posts: 15
edited August 2012 in Working with GS (Mac)
I have been trying for a while. is there anyone who know how to change actors attribute according to what scene it is in.

Best Answer

  • gyroscopegyroscope I am here.Posts: 6,598
    Accepted Answer

    You're welcome, @haza. I forgot to mention that the attribute YourAtt should be a game attribute, but I'm sure you realised that.

Answers

  • J_PANJ_PAN Member Posts: 140
    i think you can use other actors to change other actors attributes through scene attributes/layers

    Hope this helps,

    pan_joshua
  • hazahaza Member Posts: 15
    but how do you get them to change the attribute when the scene is opened
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    edited August 2012

    @haza

    Hi, you can put the change attribute behaviour in an actor in the scene but off-screen. That way, when each scene opens, your attribute will change.

    You don't mention what this attribute is used for, or how it changes depending on which scene is opened, so I'll assume you just want 1 added every time a new scene is opened.

    So in this actor off-screen (one per scene) put:

    Rule: Change Attribute YourAtt To YourAtt + 1 --------- as an example.

    Hope that helps.
  • hazahaza Member Posts: 15
    thanks
  • hazahaza Member Posts: 15
    Thanks for your help
Sign In or Register to comment.