SA-MP Forums Archive
Dropping objects? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Dropping objects? (/showthread.php?tid=306941)



Dropping objects? - Thingzors - 28.12.2011

Hey, I'm trying to create a filterscript that'll drop explosive barrels from the air. The issue i'm having is, when you create the objects, they'll stay floating in the air until you disturb them somehow, either by jumping at them or putting an explosion nearby. The problem is, explosions + explosive barrels don't tend to work too well, as I want them to hit th e ground without exploding.

How can I go about "knocking" the objects out of the air automatically? I've tried things like dropping a vehicle on them etc, but they still just explode.

Thanks


Re: Dropping objects? - CyNiC - 28.12.2011

There are no way to manage client side object movements, it would be interesting for all, and was suggested on 0.3d development stage some times.

Anyway, maybe you can drop them using another object to colide.


Re: Dropping objects? - Thingzors - 28.12.2011

Hmm, thats kind of a shame

I suppose what I'll do is just use a NPC to go and kick them for me, that should do it

Is there any way I can like, manually edit the NPC recording file and move his Z position up a bit? The position of the barrels is too high to get to on foot.