BieHDC Posted August 2, 2013 Share Posted August 2, 2013 https://wiki.multitheftauto.com/wiki/SetObjectBreakable How is this function meant? is it only for making breakable objects unbreakable or can i create for example breakable buildings with it? Link to comment
xXMADEXx Posted August 2, 2013 Share Posted August 2, 2013 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 ) Link to comment
BieHDC Posted August 2, 2013 Author Share Posted August 2, 2013 ok thx man but i cant set an existing not breakable object like a bridge breakable Link to comment
Castillo Posted August 2, 2013 Share Posted August 2, 2013 You mean turn an object which is not breakable on GTA to be breakable? if so, that's not possible. Link to comment
BieHDC Posted August 2, 2013 Author Share Posted August 2, 2013 :C would be a great function, but somebody has to create all textures So we have to use haystack and glass for ever to make breakable towers ^^ Link to comment
Moderators IIYAMA Posted August 2, 2013 Moderators Share Posted August 2, 2013 You can also script destruction by moving objects in to the ground after they got hit, maybe some explosions. Link to comment
BieHDC Posted August 2, 2013 Author Share Posted August 2, 2013 i will do if i have the time Link to comment
xXMADEXx Posted August 2, 2013 Share Posted August 2, 2013 If you want to set a world object non-breakable then you'll need to delete it using removeWorldModel and map it back. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now