Jump to content
Fastfood4Bigfoot

[SOLVED] Attaching smoke grenade to parachute fails

Recommended Posts

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 by Fastfood4Bigfoot
[SOLVED]

Share this post


Link to post
Share on other sites

("SmokeShellRed" createVehicle (position player)) attachTo [player, [0, 0, 0], "lchodidlo"];

  • Like 1

Share this post


Link to post
Share on other sites

Thx a lot!

("SmokeShellRed" createVehicle (position player)) attachto [(vehicle  player)];

works fine. :don11:

 

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
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
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
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.

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×