Launch a object using moveobject - 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: Launch a object using moveobject (
/showthread.php?tid=261097)
Launch a object using moveobject -
Donya - 12.06.2011
Edit: fixed it.
how do i do that
Re: Launch a object using moveobject -
Bakr - 12.06.2011
According to the picture you are displaying, you want to move the object x units on the x axis (right/left) and x units on the y axis (up/down). Do you mean you want to move the object in an upward direction (in which case the z axis is what you would be looking for)?
Please try to put a little more effort into your explanation and site specific details on what you are trying to accomplish.
Also take a look at the
MoveObject() function.
Re: Launch a object using moveobject -
Donya - 12.06.2011
I believe the picture showed it all.
in the picture, x means point a, y means point b
no, i don't want to move the x, i only want the y moved
yes, i want to launch the object in an upward direction.
GetXYInFrontOfObject, then Plusing the zpos by like 18 doesn't help at all
Re: Launch a object using moveobject -
Donya - 12.06.2011
can i bumpt?
Re: Launch a object using moveobject -
Stigg - 12.06.2011
https://sampwiki.blast.hk/wiki/SetObjectRot
Re: Launch a object using moveobject -
Donya - 12.06.2011
how does setobjectrot move the object, rotation is not the problem, i don't need a special rotation
Re: Launch a object using moveobject -
Stigg - 12.06.2011
Quote:
Originally Posted by Donya
how does setobjectrot move the object, rotation is not the problem, i don't need a special rotation
|
What do you mean by launching an object ?
Map the object in the ground, then set rotation to move it upwards.
Re: Launch a object using moveobject -
Donya - 12.06.2011
[ame]http://www.youtube.com/watch?v=A_LrO-49vB4[/ame]
see 1:16
thats the gascan launching...
then watch 3:42
see how it goes in the air? also how can u set a objects rotation to make it move? lol..
Re: Launch a object using moveobject -
Lorenc_ - 13.06.2011
bump i need this aswell.
Re: Launch a object using moveobject -
Niko_boy - 13.06.2011
Do combining move object and rotation function will help
Its just a guess ..
I Will too wanna know how to do that