|
I'm trying to get some cargo to deposit into my truck when I drive under a dump and press a certain button. I got it set up to where I could drop cargo at any time by a button press, but I need it to only happen when I'm under the dump. Also, is there any way to limit to one piece of cargo spawned a a time? Thanks. Here's the code so far:
(comments are locked)
|
|
Use GetButtonDown instead of GetButton.
(comments are locked)
|

Don't mind the Tigger... fixed that and it works for spawning... But I'm still not sure on how to only spawn one at a time.