Fastfood4Bigfoot 0 Posted October 4, 2018 (edited) Hi, I'm trying to attach a smoke grenade to the player while parachuting. I think it can be boiled down to ("SmokeShellRed" createVehicle (position player)) attachto [player]; but this doesn't works as expected. While running on the ground it works totally perfect but while flying in the air the smoke shell just spawns beside the character and falls down to the ground. Expected effect would be something like https://youtu.be/4nMvx33BZ1k?t=22. Any ideas what is missing? Thx in advance! Edited October 4, 2018 by Fastfood4Bigfoot [SOLVED] Share this post Link to post Share on other sites
Harzach 2294 Posted October 4, 2018 Attach it to the parachute. Share this post Link to post Share on other sites
Fastfood4Bigfoot 0 Posted October 4, 2018 Okay. How do I refer to the parachute? Share this post Link to post Share on other sites
Harzach 2294 Posted October 4, 2018 https://community.bistudio.com/wiki/vehicle 1 Share this post Link to post Share on other sites
davidoss 548 Posted October 4, 2018 ("SmokeShellRed" createVehicle (position player)) attachTo [player, [0, 0, 0], "lchodidlo"]; 1 Share this post Link to post Share on other sites
Fastfood4Bigfoot 0 Posted October 4, 2018 Thx a lot! ("SmokeShellRed" createVehicle (position player)) attachto [(vehicle player)]; works fine. I still tried to use ("SmokeShellRed" createVehicle (position player)) attachto [(backpackContainer player)]; , which just works as long as the parachute is still closed. Share this post Link to post Share on other sites
Harzach 2294 Posted October 4, 2018 1 minute ago, davidoss said: ("SmokeShellRed" createVehicle (position player)) attachTo [player, [0, 0, 0], "lchodidlo"]; Doesn't that fail when the unit enters/is in a vehicle, though? Share this post Link to post Share on other sites
Fastfood4Bigfoot 0 Posted October 4, 2018 2 minutes ago, davidoss said: ("SmokeShellRed" createVehicle (position player)) attachTo [player, [0, 0, 0], "lchodidlo"]; That one is equivalent to the boiled down version I posted at the beginning. How can I close this thread now? Share this post Link to post Share on other sites
Harzach 2294 Posted October 4, 2018 Just now, Fastfood4Bigfoot said: That one is equivalent to the boiled down version I posted at the beginning. How can I close this thread now? We don't do that here, but you can add a [SOLVED] to the title. Someone might have the same question in the future. 1 1 Share this post Link to post Share on other sites