Different Functions for same spawned actor?

hman360hman360 Member Posts: 590
edited November -1 in Working with GS (Mac)
I have an actor that is spawned and when I touch it I have a popup menu come up asking to change its speed to 50 on one button or 100 on another for instance. If the same actor is spawned again, how can I make it so its speed can change without changing the first one's speed?

Comments

  • old_kipperold_kipper Member Posts: 1,420
    Set the prototype up with a rule that says when Self touched state is true put coordinates into game attributes, lock the pop menu to those, then when the speed choice is made and put into a game number attribute (which I would use a number attribute for...0 for done, 1 for 50, 2 for 100) you have the menu send the choice, then zero the attribute to tell the selected actor to move on and stop sending coordinates (and send some very high number to the ordinates that is above the size of the play area. This indicate to the menu that below this number to come back and lock on)
  • hman360hman360 Member Posts: 590
    What if I wanted it to change the image?
  • hman360hman360 Member Posts: 590
    Also, after an attribute changes to a number (only 5), can it lock that attribute to itself, and not the whole prototype.
  • old_kipperold_kipper Member Posts: 1,420
    All these things are possible. It just needs to be set up in a way that works.
  • hman360hman360 Member Posts: 590
    Can you do it for some money, email redsox360blog@gmail.com.
  • hman360hman360 Member Posts: 590
    I've tried for a few days. This is something I should know how to do.
Sign In or Register to comment.