Ammo spawning issue... (PlaceAtMe)

Post » Fri Jul 29, 2011 9:54 pm

I am trying to make a system that spawns the selected ammo type when you hit a button. I have a terminal, from which you select from 6 types of ammo. Next to it is a button, and when pressed it spawns ammo into the world at a designated location. My issue is that I thought the ammo would stack. So if I spawn 12 MicroFusion Cells, I thought it would spawn 1 physical object that represented 12... However it spawns 12 different objects and they go all over and its messy... Is there some way to get around this? All I can think of is to make it place all but one of the ammo directly into the players inventory, so they still pick the one up, and it spawns and all, but they get all of the ammo I intend them too... Anyone else have any ideas? I would love to make it spawn all of the ammo as one object...

Thanks,
AJ Velicky
User avatar
Katie Louise Ingram
 
Posts: 3437
Joined: Sat Nov 18, 2006 2:10 am

Post » Sat Jul 30, 2011 4:45 am

You'd have to use the NVSE SetRefCount function.
User avatar
Alexis Acevedo
 
Posts: 3330
Joined: Sat Oct 27, 2007 8:58 pm


Return to Fallout: New Vegas