Digital Paint Discussion Board

Development => Mapping => Topic started by: SmackWaters on October 08, 2006, 08:39:33 PM

Title: cannons that launch func_objects
Post by: SmackWaters on October 08, 2006, 08:39:33 PM
OK, I have a cannon set up that will launch func_objects. It has a trigger_push entity to shoot the objects. Well, i want you to be able to shoot it multiple times, but so far I've tried setting the func_objects to spawn by a button, and I've tried killing the target, then spawning it. Killing the target just deleted it off the map, so i couldn't spawn it again, and the button would only spawn it once. I also tried using a target_spawner, but it can't spawn func_objects because they are seed brush entities. . I wanted to know if there was a way to spawn the same func_object multiple times, otherwise my cannon will only shoot once, and that's no fun. By the way, these cannons are simply for decoration, but i think they are cool, and would be fun in a map.
Title: Re: cannons that launch func_objects
Post by: Eiii on October 08, 2006, 11:39:07 PM
Wait... Dunc_objects are affected by trigger_pushes? Anyway, the only way to do this would be to do a Dunc_spawner (or whatever they're called) But you can only do that with point-based entities. So you can't, unless the Dunc_object has some kind of respawning property I'm unaware of.
Title: Re: cannons that launch func_objects
Post by: SmackWaters on October 09, 2006, 04:12:26 PM
well, i can do it by having several buttons each spawning a different object, but, then you have a limited ammo.

i think i need to call jitspoe for this.
Title: Re: cannons that launch func_objects
Post by: jitspoe on October 09, 2006, 04:58:17 PM
I don't know, honestly.  I've never tried to spawn a func_object before.
Title: Re: cannons that launch func_objects
Post by: SmackWaters on October 12, 2006, 07:15:23 PM
heh, i didnt get the multiple spawns to work, but i did get the guns to shoot darts that actually kill people! check this out!