Detecting when an object gets destroyed
#1

Is there a way to detect when an object gets destroyed, naturally.
Example, this object (ID 2942) will be destroyed if crashed into or shot enough times.
Reply
#2

You can use OnPlayerKeyStateChange + IsPlayerInRangeOfPoint
Reply
#3

What I want is to detect when the object actually gets destroyed - whether it be by a player crashing into it, or shooting it.
Reply
#4

i think only possible if you "Add the object" then
Reply
#5

Quote:
Originally Posted by Rudy_
Посмотреть сообщение
i think only possible if you "Add the object" then
What?
Reply
#6

Quote:
Originally Posted by cessil
The object is created, a player can destroy the object and will most likely sync for all players streamed in, then another player streams in to see the object still there.

The object does not get deleted just because a player hits it, you'd need to detect it some other way like using camera vectors, players positions ect.

I'd recommend just using pickups instead.
That
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)