Jump to content

[Question] setObjectBreakable


BieHDC

Recommended Posts

Posted

For custom objects.. So say you created an object and it can break when someone hits it then you would put setObjectBreakable ( varible, false ) and then it wouldn't break when someone hits it..

Example:

object = createObject ( 980, 0, 0, 10 ) -- I know objct 980 isn't breakable but idk what one is 
setObjectBreakable ( object, false ) 

Posted

:C

would be a great function, but somebody has to create all textures :D

So we have to use haystack and glass for ever to make breakable towers ^^

  • Moderators
Posted

You can also script destruction by moving objects in to the ground after they got hit, maybe some explosions.

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...