Mathis01250 0 Posted April 12, 2017 Hi, So I'm making a quite weird rocket launcher that won't fire up rockets but some particule effet using eventhandlers and setparticleXXX. The effect works, the launcher works with custom hand anim and so on. But the issue is that I need to AttachTo my particule effect to the launcher the player is holding. At first I used the launcher memory point, but as it is a weird launcher, it's not working. So I used the right hand mem point, with an offset, but when I look up or down, the effect is not adjusting perfectly, it is perfect if I look left or right (little too low or little too high) So, I added a mem point on my launcher to attach to. But I can't get the launcher as an object can I ? Is there any way for me to either use a memory point of an other object while "attachTo player" Or to get the launcher as an object All those hours to get stuck with this stupid issue :( If you need it I can give you the files Share this post Link to post Share on other sites
sarogahtyp 1106 Posted April 12, 2017 secondaryWeapon returns the launcher object Share this post Link to post Share on other sites
Mathis01250 0 Posted April 12, 2017 Hum maybe I'm wrong but it return only the classname, right ? Share this post Link to post Share on other sites
sarogahtyp 1106 Posted April 12, 2017 right, thats because I striked it out. I m looking for a solution Share this post Link to post Share on other sites
Mathis01250 0 Posted April 12, 2017 I might looking this wrong, I'm making a small clip to show you Share this post Link to post Share on other sites
sarogahtyp 1106 Posted April 12, 2017 It seems not to be possible to get an object of a weapon which the player is carrying. https://www.reddit.com/r/armadev/comments/2xjx73/return_players_weapon_as_object/ but show ur video... Share this post Link to post Share on other sites
MrSanchez 243 Posted April 12, 2017 There are various posts about this. The problem is that we can not get a reference to proxy objects. We'd need a command like in VBS: https://resources.bisimulations.com/wiki/getProxy I'll create a request on the FT. edit: https://feedback.bistudio.com/T124301 Kind regards, Sanchez 1 Share this post Link to post Share on other sites
Mathis01250 0 Posted April 12, 2017 Yup seems that there isn't a solution yet :( Anyway thanks for the help guys Send the link of the request If you do create it http://plays.tv/video/58ede936014534154a/so-close- Share this post Link to post Share on other sites