Digital Paint Discussion Board
Development => Mapping => Topic started by: musickid999 on August 28, 2008, 02:56:11 PM
-
I have a func_spawn question.
Let's say i made a button to spawn ammo.
Is there a way i can make it to specifically spawn only ammo boxes of 200?
I'm just using ammo as an example
-
Nope.
-
Hmh, I think he means if it's possible to spawn for example an autococker or a steel barrel or if it just spawns a random item.
-
Right. It's not, from what I've tried. You can spawn a weapon, but it'll always be a random weapon. You can spawn a hopper, but it'll be a random hopper.
-
Uhm, I thought there was a way to spawn the gun/ammo/hopper/gas you want, I just don't remember how to do it.
I might as well be wrong.
-
Key: "type"
Value: "200"
-
That works fine for the hopper entity itself, but I don't think it works on a func_spawner.
EDIT: trigger_spawner, sorry. And I just tested it, and you can only control the type of entity you spawn. None of the properties.
-
ah well, i guess it'll have to do, i had this amazing idea for a fun map, with an armory that spawns whatever weapon you want LOL
guess i'll have to change my plans, thanks for the help people
-
Be careful with spawners, as it's possible to cause overflows by spawning excessive amounts of equipment.