Log In  

There is something I been trying to figure out how to make and it's been eluding me.

i am trying to make an ammo dispenser that activates on once ammo pack has been collected. So you grab a pack
it delays for some time, then spawn another pack and so on. Should be simple to do, but so far I am not having any luck with it.
Thx all

P#19356 2016-03-21 23:43 ( Edited 2017-03-02 20:09)

Zep, Kling... any suggestions?

P#19795 2016-04-14 16:13 ( Edited 2016-04-14 20:13)

there you go, I also made it so that the pack would only add 3 ammo to your grenades and it can only be collected once you have the item with you (regardless of ammo)

P#19797 2016-04-14 19:58 ( Edited 2016-04-14 23:58)

Hi Kling, Thx for looking at it :)
I want it to spawn an item in place of an item that has been picked up, to keep number of ammo packs same.
But know it just keep's on spawning. Let me know if you think of something.
Thx again :)

P#19798 2016-04-14 21:24 ( Edited 2016-04-15 01:24)

I found four ways of doing so:
from right to left:

Make the dispenser a platform that will only spawn another pack if there's nothing over it (sometimes it triggers twice)

Give it a button so it only spawns on player input (there may be multiple packs if the player wants it, however)

Make the item timed so it disapears as soon as another one comes (if the player picks it up, he'll have to wait for another)

Make it so the item dies if it touches another pickup (pickups can't be killed by modifiers or each other so I deleted the ground colision)
P#19805 2016-04-15 17:26 ( Edited 2016-04-15 21:28)

This is epic thank you so much :)
My fav is the button one :)
Thx again.

P#19817 2016-04-16 15:16 ( Edited 2016-04-16 19:16)

Kling, I was wondering if you can look at this file. I am trying to make a monster act like ghosts do in pacman.
But it doesn't reset :(
I think I need some kind of different trigger. Your thoughts are much appreciated.

P#37999 2017-03-02 15:09 ( Edited 2017-03-02 20:10)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 18:17:40 | 0.028s | Q:16