collusion - need the big guys (professionals) - 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: collusion - need the big guys (professionals) (
/showthread.php?tid=603435)
collusion - need the big guys (professionals) -
iNuBe - 23.03.2016
hello professionals i am a newbie and i made a feature which took me some time to accomplish its is a fighter helicopter
(it just shoots rockets)
so what i need is some way to make the rocket exploads upon touching a vehicle or the ground or any solid object
how can i do that
https://www.youtube.com/watch?v=OOyw...ature=*********
thanks for taking my request into consideration
Re: collusion - need the big guys (professionals) -
Abagail - 23.03.2016
You can use OnObjectMoved to do something when the object has reached it's destination point. If you are streaming the object through the streamer plugin, substitute with the OnDynamicObjectMoved callback.
Physical explosions can be created with the CreateExplosion function, for further information refer to the links below:
wiki.sa-mp.com/wiki/OnObjectMoved
wiki.sa-mp.com/wiki/CreateExplosion
Re: collusion - need the big guys (professionals) -
Vince - 23.03.2016
That doesn't answer the original question: how to detect a collision? Should be possible, to an extent, with the ColAndreas plugin.
https://github.com/Pottus/ColAndreas/releases