I need the function that used for spawnitem in dispenser, I need to recognize which spawnitem is has IID, to remove it or to use it.
I'm making custom buildings and I wanna make custom dispenser which spawns snowballs, for example instead primary/secondary-ammo, and no more than 2 for 9-tiles around the specific dispenser id, but depending on dispenser.-> since two dispensers, T and CT might be spawned near each other and somehow primary/secondary-ammo is spawned in limits of 1 for each item.
Supply/teleport/turret pattern/working way/behavior functions/methods will be appreciated in comments.
edited 2×, last 23.06.23 10:42:18 am