Attribute Question. (I know I suck haha)

ozboybrianozboybrian PRO Posts: 2,102
edited November -1 in Working with GS (Mac)
Ok, So after my rant I realised I have no clue still.

I have "Actor 1" and "Actor 2"
I created a Boolean Called "Destroy"

Actor 1: Create Rule. When Actor is Touched: Change Attribute > Game.Destroy > True

Actor 2: Create Rule: When Attribute > Game.Destroy is False.
Destroy Actor.

It doesn't work. I'm missing so much :/

Comments

  • ozboybrianozboybrian PRO Posts: 2,102
    I'm doing this strictly for learning purposes, none of my games require this yet but I often think about and thought I had it down, but I obviously don't.

    Cheers
  • ozboybrianozboybrian PRO Posts: 2,102
    Bump - This is strictly for learning purposes.
  • ozboybrianozboybrian PRO Posts: 2,102
    Only one bump left... update, still can't believe it doesn't work
  • anithmukanithmuk Member Posts: 235
    in actor 2 change the attribute from false to true
  • ozboybrianozboybrian PRO Posts: 2,102
    That's what I meant lol! But it still doesn't work.
  • anithmukanithmuk Member Posts: 235
    no idea then. Should simply be when actor one is pressed change attribute game.destroy to 1
    when game.destroy is true destroy actor 2.
  • ozboybrianozboybrian PRO Posts: 2,102
    Yeah. That'll work... I'll never get booleans.
  • anithmukanithmuk Member Posts: 235
    well a boolean is just an integer attribute which toggles between 1 and 0. Whats there not to get?
    To be fair it took me a while before I could efficiently work through all my attributes, by the time I finished my game I released I could delete half my attributes and use the same attributes to do 3-4 different tasks at different times.
Sign In or Register to comment.