Collisions with self.name
![networ](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
Hi, I need to do this:
I have only one actor in my game call "characters"
--> In this actor I Have:
If self.name = 1 then do something.....
I have names 1-9 ....
I need rule : If self.name= 1 collide with self.name = 2 then do something..... Is it possible?
Hope you can understand![;) ;)](http://forums.gamesalad.com/plugins/emojiextender/emoji/twitter/wink.png)
Thanks.
I have only one actor in my game call "characters"
--> In this actor I Have:
If self.name = 1 then do something.....
I have names 1-9 ....
I need rule : If self.name= 1 collide with self.name = 2 then do something..... Is it possible?
Hope you can understand
![;) ;)](http://forums.gamesalad.com/plugins/emojiextender/emoji/twitter/wink.png)
Thanks.
Comments
for some reason they took this ability out!
in 0.93 we cant use self.name in a rule , sadly.
roy.
i hope they will bring it back in the FIX update
Roy.
Roy.
Cheer up ! check out my new game for iPad: http://gamesalad.com/forums/topic.php?id=23586
Roy.
Your games are great I tried Loonimals and its really nice and smooth playing. Congrats!
_______________________________________
http://www.gamesaladforum.com/
Its self.image that doesn't work.
Roy.
If sef.name = ball collide with self.name = wall
Then do something...
Thanks.
Can it just do a normal collide? Or you will need to set a Game attribute that takes the self.name and then compare it in the ball actors rule.
If self.name = red_block then
Change image to red.png .....and do something....
If self.name = yellow_block then
Change image to yellow.png .....and do something....
And then I need rule like this:
If red_block collide with yellow_block
Then do something.....
Is it possible? i hope so.