Author Topic: Activate while no collision?  (Read 716 times)

Hello! I am new to the Blockland forums and I made a renderman hunt. The thing I need help with is my onPlayerTouch events wont activate when I have a no collision brick. How do i make it to where it still activates even when there no collision? Is there like a ghost function i can use? Thanks :)

onPlayerTouch is fully dependent on collisions. It's like saying you want to click a brick with no rayCasting, or trying to trigger onProjectileHit on a no rayCasting brick. Both are doing what they are supposed to do.
Though for your case, I guess 2 things could be attempted, based on how you have your build:
Do onPlayerTouch on the brick underneath.
Use zones.

  • Install ZoneEvents by Melting Plastic
  • Run your server with ZoneEvents enabled
  • Lay down a brick and disable its collision property
  • Create the event: onActivate -> Self -> setZone
  • Click "Send" to save changes and close the events window
  • Click your brick with your empty hands
  • Open the events window again and erase all events
  • Create the event: onPlayerEnterZone -> Player -> Kill
  • Walk through the brick and see if it works

Thanks I will try it out :)