Can somebody explain to me too? I have no idea what they do, I saw it in a project once.
Offline
Thescratch, theyre somthing to do with mesh, because i just experimented and found the link:
Variables are a user set object, say if P1 says somthing, using the sensor value, when P1 says somthing, it will appear on P2's screen and vice versa. Thats the basic connection beween them.
Offline
If you mean the [(pull-down) of (pull-down)] block;
ThIS sensor block lets a sprite "look" at another sprite's xposition, yposition, direction, etc. It also lets a sprite "look" at another sprite's "for this sprite only" variables.
Make a sprite and, in that sprite, make a variable "for this sprite only" - call it "test" and set it to some number.
Make another sprite and in the script area, pull out the sensing block that has the two pull-downs. On the right pull-down, you can lelect "sprite1", in the left pull-down, you'll now see information about sprite1 - including the "test" variable. Select this and click the sensing block - it will return the value of sprite1's private variable.
Last edited by EdnaC (2011-07-06 14:27:49)
Offline