Jump to content

Detect if element is breakable


h4x7o0r

Recommended Posts

Posted

Hey there,

How can i detect if an element is broken or not ? like glass panes, some wooden platforms etc.

I tried using IsElementOnScreen (and other functions) but it's returning false if the element isn't in near when map starts.

Is there any event or any method to detect that ?

Thanks in advance.

Posted

EDIT:

The Problem seems to be the glass objects.

Hay e.g. works with some other function.

But glass also doesn't work with breakObject function, so whats the difference between glass and hay?

Posted

Depending on the content in which you want to use this, you could find other solutions. If you write what you are trying to do, then maybe we can find another solution.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...