Different constraining actors

skippyskippy Member Posts: 106
edited November -1 in Working with GS (Mac)
Its been a while guys but i need to grill someone again, if you are constraining an actor to another actor like say a fish in a fish bowl and that bowl breaks and you catch the fish in another fish bowl with water in it how then do you constrain it to the item you just caught it with, i can't seem to get it to work properly. I have different item's in different sections on the scene when the tank or bowl gets destroyed the fish falls and when caught goes from one item to the other to the other than can catch it, its weird. Do i need to setup different values for each of the items that can catch the fish and then say if actor collides with glass of water or fish bowl constrain to one of them type thing, could someone explain how to do this the right way please

Comments

  • skippyskippy Member Posts: 106
  • synthesissynthesis Member Posts: 1,693
    You will need to use some switch wrappers....

    If fishA is in Bowl1 >> Do Not constrain...

    If fish A is in Bowl 2 >> Constrain to hook.

    Its simple...but I am just suggesting a logic strategy here.

    In short...
    use boolean rule wrappers to make the actor do different things at different times.
  • skippyskippy Member Posts: 106
    I see, ok i'll muck around with that suggestion now and see how it goes
    Thanks
  • skippyskippy Member Posts: 106
    Synth I can't get it to work, maybe i should have had explained more ,if i have a spawner at the bottom of the screen which spawns something every 3 or 5 seconds for eg the fish bowl breaks & the fish falls and one of the spawned pans catches it well that fish wants to jump to all the spawned pans not just the one that caught it, you see all those pans have the same constraining values so if there are 4 spawned pans on the screen the fish goes from one to the other to the other rather than sticking to one that caught it. I hope i'm not confusing you
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    It will not work like that. you must have different game attributes for each pan.
  • skippyskippy Member Posts: 106
    Ahhh thanks, i thought that when it collided with a particular pan then it would work just on that particular pan because it didn't collide with any of the others ok no problem so if i have a different attribute for say 5 pans how would i randomly spawn the 5 different pans with these different attributes on the screen ? Would i need 5 different spawners or can i just spawn the different pans from the same spawner ?
Sign In or Register to comment.