detect if destroyed object?
#1

there are some objects that can get destroyed .. like garbage bags, hay, fence ...

how can i check if they exist or not ? (if destroyed)

because im making waste collector job and i cant know if someone destroyed the bag with a vehicle or punching so i can respawn it ... also its making bugs..

pls help this is importent.. ty
Reply
#2

Not possible, sorry.

Someone may suggest using keys and camera vectors, but it really isn't a reliable option.
Reply
#3

Quote:
Originally Posted by MP2
Посмотреть сообщение
Not possible, sorry.
-You sir, Are a gumball.

Theres a way to do it, Not sure how.
Reply
#4

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.
Reply
#5

Quote:
Originally Posted by -Rebel Son-
Посмотреть сообщение
-You sir, Are a gumball.

Theres a way to do it, Not sure how.
You're not sure how because there IS no way to do it. As I said in my previous post it's BARELY possible with key detection and camera vectors, but it's never going to be reliable.
Reply
#6

Maybe you should make your own with CreatePlayerObject, then check with IsValidPlayerObject. I think that's the best way there is...
Reply
#7

He wants to detect clientside destruction, not deletion.
Reply
#8

Oh, sorry
Still, it might be easier for a trashmaster mission, then you can delete it when the player 'picks it up' via a checkpoint or whatever.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)