Pickup from vehicle
#3

You can also create a pickup that exists always (ID 1) but not handle that pickup using OnPlayerPickUpPickup.
Instead, create a dynamic circular area using Incognito's streamer around the pickup and check OnPlayerEnterDynamicArea.

When a player enters this area, check if he's in a vehicle and do whatever you want as if the player picked up the pickup.

You may also want to disable or delete the pickup when this happens and re-create it later, also disable the dynamic area using a variable in case you want nobody else to be able to pickup the pickup.
Reply


Messages In This Thread
Pickup from vehicle - by ,TomY' - 24.07.2018, 22:02
Re: Pickup from vehicle - by JasonRiggs - 24.07.2018, 22:30
Re: Pickup from vehicle - by AmigaBlizzard - 25.07.2018, 00:06
Re: Pickup from vehicle - by ,TomY' - 25.07.2018, 06:04
Re: Pickup from vehicle - by Sew_Sumi - 25.07.2018, 07:20

Forum Jump:


Users browsing this thread: 3 Guest(s)