ThePixel
|
  |
| Joined: 15 May 2010 |
| Total Posts: 225 |
|
|
| 23 Oct 2011 09:01 AM |
| What would be the code for this? How would I do it? Could the block walkthrough (Cancollide off)? |
|
|
| Report Abuse |
|
|
myrco1001
|
  |
| Joined: 17 Sep 2010 |
| Total Posts: 2574 |
|
|
| 23 Oct 2011 09:03 AM |
| Create a value and add 1 to the value if there's a player on the brick and use TouchEned to remove that if the player hops off. |
|
|
| Report Abuse |
|
|
ThePixel
|
  |
| Joined: 15 May 2010 |
| Total Posts: 225 |
|
|
| 23 Oct 2011 09:05 AM |
| Erm... any other ways of doing it? |
|
|
| Report Abuse |
|
|
ThePixel
|
  |
| Joined: 15 May 2010 |
| Total Posts: 225 |
|
|
| 23 Oct 2011 09:08 AM |
| I should probably better rephrase that. Is there a way to detect which players are touching a block? |
|
|
| Report Abuse |
|
|
myrco1001
|
  |
| Joined: 17 Sep 2010 |
| Total Posts: 2574 |
|
|
| 23 Oct 2011 09:12 AM |
| While they are touching it create an objectValue with the player in it, if they stopped; remove it. |
|
|
| Report Abuse |
|
|
ThePixel
|
  |
| Joined: 15 May 2010 |
| Total Posts: 225 |
|
|
| 23 Oct 2011 09:14 AM |
| Okay... I have no clue how I would do that... Anyone mind giving me an example? |
|
|
| Report Abuse |
|
|
myrco1001
|
  |
| Joined: 17 Sep 2010 |
| Total Posts: 2574 |
|
|
| 23 Oct 2011 09:15 AM |
| No no no, no you're going the wrong way, YOU write the code. I gave the hint already and if you can't do that (wich I obviously believe you can't) then you are a noob. |
|
|
| Report Abuse |
|
|