move object till it touches ground - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: move object till it touches ground (
/showthread.php?tid=260796)
move object till it touches ground -
Tion - 10.06.2011
Hey,
Have a little question:
How can I move a object down, till it touches the ground ?
Example: You are sitting in a hydra and pushing the h-key. A package moves staight down and touches the ground, where a pickup or somethink else will apear.
I have the OnPlayerKeyStateChange-part ( well not written down but I know how I will write it

), but I need somethink else than MoveObject :S
Tion
/edit: Have a little bit question -> Have a little question
Re: move object till it touches ground -
Babul - 10.06.2011
the HeightMap plugin
https://sampforum.blast.hk/showthread.php?tid=120013 could help you. its optimal for using it for dropping objects - it returns the top-most place at any x-y position
AW: move object till it touches ground -
Tion - 10.06.2011
thanks :O
this helped me really a lot
thanks,
Tion