Objects stuck in air - 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: Objects stuck in air (
/showthread.php?tid=306366)
Objects stuck in air -
Thingzors - 26.12.2011
Hey, I've got a server going and I'm trying to create a "mass" of objects to fall from the sky on command.
The problem is, CreateObject will put the object there, but it'll just stay floating in the air until you disturb it somehow.
I was wondering if maybe MoveObject would set them off?
Any way I can fix this?
Thanks
Re: Objects stuck in air - suhrab_mujeeb - 26.12.2011
Using moveobject.
Re: Objects stuck in air -
Thingzors - 26.12.2011
Once it has moved the object to the final position, will the object then continue to fall by itself?
I'm trying to drop a heap of beachballs from the sky
Thanks
Re: Objects stuck in air - suhrab_mujeeb - 26.12.2011
Quote:
Originally Posted by Thingzors
Once it has moved the object to the final position, will the object then continue to fall by itself?
|
You have to keep the object moving to the ground, or else it will be stuck in the final position unless it is a vehicle.
Re: Objects stuck in air -
Thingzors - 26.12.2011
Hmm OK, because I know if you create the object, they'll stick in the sky unless you go and hit them/shoot them etc or just disturb them in any way, then they fall to the ground and roll normally. I suppose I'll have to drop a car or something on them to get them moving, and delete it again quickly before it hits the ground.
Thanks for the help.