Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 52 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 4
Category: CoD4 Scripting
Scripting and coding with Call of Duty 4.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Kill off or stop spawners
infinet
General Member
Since: Feb 4, 2008
Posts: 208
Last: Jan 23, 2013
[view latest posts]
Level 4
Category: CoD4 Scripting
Posted: Wednesday, Mar. 24, 2010 02:37 am
Tried doing a search but couldnt find it. Is there a script that allows spawners to stop spawning or just die.

I have a part where you and your allies fight a group of about 12 enemies (I set them to spawn with a count of 999). After about a minute your next objective is to go solo in another route, with your allies still fighting that group of enemies.

As you go on you fight others. But eventually I want the player to meet with his allies and by the time he meets them that group of 12 are gone. I need to know if there is a way to stop spawning the enemies or just delete them.
Share |
techno2sl
General Member
Since: Aug 5, 2004
Posts: 2977
Last: Oct 14, 2010
[view latest posts]
Level 9
Category: CoD4 Scripting
Posted: Wednesday, Mar. 24, 2010 10:53 am
Script_killspawner 12

(any numerical value)

Easy way:

Select your spawner, select a trigger multiple - shift +G

Click "script_killspawner"

Done!
Share |
Mystic
General Member
Since: Apr 10, 2004
Posts: 6147
Last: Apr 15, 2018
[view latest posts]
Level 10
Forum Moderator
Im a fan of MODSonair
Category: CoD4 Scripting
Posted: Wednesday, Mar. 24, 2010 11:45 am
Select your spawner and trigger and hit 'SHIFT + G', a box comes check the "script_killspawner" option.

edited - didnt refresh window and see techno answer, sorry
Share |
techno2sl
General Member
Since: Aug 5, 2004
Posts: 2977
Last: Oct 14, 2010
[view latest posts]
Level 9
Category: CoD4 Scripting
Posted: Wednesday, Mar. 24, 2010 12:24 pm
Took you almost an hour to respond then, -10xp for you [thumbs_up]
Share |
infinet
General Member
Since: Feb 4, 2008
Posts: 208
Last: Jan 23, 2013
[view latest posts]
Level 4
Category: CoD4 Scripting
Posted: Wednesday, Mar. 24, 2010 06:19 pm
D'oh I didn't realize this! Thanks guys!
Share |
voidsource
General Member
Since: May 5, 2007
Posts: 1513
Last: Sep 1, 2013
[view latest posts]
Level 8
Category: CoD4 Scripting
Posted: Wednesday, Mar. 24, 2010 09:57 pm
you could kill the spawners like that, which involves u using a trigger as well with it. You can also empty their count and then when they die they wont respawn, this is helpful as it looks more believable.
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 Scripting

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»