Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

Block that destroys cars?

Asked by 10 years ago

I am working on a new game and I found a problem, my scripting knowledges on Lua are very very small so I have this question how do I make a block that when a car touches it it destroys the car?

2 answers

Log in to vote
0
Answered by 10 years ago

Do you mean a game where you hit something and the parts of the car start falling off? I have very little scripting knowledge but I might be able to think of something for that. If this is what you mean leave a comment and I will give you the best I can think of.

0
yes what you just said a brick that when it touches a car the car´s parts start falling. biocommand 30 — 10y
Ad
Log in to vote
0
Answered by 10 years ago

This isn't a request site. You need to have created a script, or ask about specific scripting methods, functions, properties, etc.

As far as methods go, for this question specifically, you could use:

Model:BreakJoints()

You would also use the Touched event.

0
Thanks biocommand 30 — 10y

Answer this question