Doesn't destroy PlayerObject
#1

Here's my code
http://pastebin.com/f1c523d44

The problem is, that the playerobjects don't destroy fast enough. Even if I set the desrtoy1 timer to 51, it still won't.
Help ?
Reply
#2

just set the timers, to false instead of true, why would you want to create like 500 objects in 1 second itll crash the server.
Reply
#3

If the player starts moving, then the object won't be directly behind his back and then the purpose of this script will be lost
Reply
#4

well if he doesnt destroy it fast enough, just set the timer down.
Reply
#5

ok, so I remade this with OnPlayerUpdate, which removed the timers, but the objects don't keep destroying quick enough.
http://pastebin.com/f62122277
Since only one object can have the id "object", then the ones which were created before it, will not be destroyed since they don't have the tag "object". So, i was wondering if It's possible to create and destroy the objects using an array ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)