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

Members Online

»
0 Active | 7 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

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 SP Mapping
CoD 4 mapping and level design for single player.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Advanced color groups
*Delta*Obi-Wan
General Member
Since: Jul 16, 2007
Posts: 233
Last: Dec 24, 2010
[view latest posts]
Level 4
Im a fan of MODSonair
Category: CoD4 SP Mapping
Posted: Friday, Sep. 11, 2009 05:14 pm
Im back with another crazy question. Basically what i need to know if it is in anyway possible to make a script color group trigger work ONLY after i have initiated a flag.
The idea is this, imagine a house and when you enter the house one of your squad mates follows and enters the house, you go into the basement while your guy waits above, after you enter the house you get back up and you have to kill a group of enemies and only then your mate starts going to its destination. I hope this explains it well.
[machine_gun]

edited on Sep. 11, 2009 01:16 pm by *Delta*Obi-Wan

Share |
pinedsman
General Member
Since: Feb 27, 2007
Posts: 85
Last: Nov 28, 2012
[view latest posts]
Level 3
Category: CoD4 SP Mapping
Posted: Friday, Sep. 11, 2009 05:28 pm
You could disable_ai_color() while you don't want him to move, then enable_ai_color() when you do.
Share |
*Delta*Obi-Wan
General Member
Since: Jul 16, 2007
Posts: 233
Last: Dec 24, 2010
[view latest posts]
Level 4
Im a fan of MODSonair
Category: CoD4 SP Mapping
Posted: Friday, Sep. 11, 2009 06:11 pm
That could work, but if I walk through the same area, where the two color triggers are.
I think i have an idea, that i think could work:

Big trigger surounding all entrances to the house
- after i pass it disable ai_group
- enter the basement
- when you exit it trigger a .. trigger on the stairs with enabled ai group for the enmies, exit the basement where there is another trigger that disables them,
- finnaly getentarray enemies waittill death and enable them again.

A little complicated but it coujld possibly work.
Share |
voidsource
General Member
Since: May 5, 2007
Posts: 1513
Last: Sep 1, 2013
[view latest posts]
Level 8
Category: CoD4 SP Mapping
Posted: Saturday, Sep. 12, 2009 08:10 am
well u dont have to disable your color group. you could do it this way, idk if it will work with ai's but i know it works for me on helis. In radiant go to the node where u want ur ai to wait till u call the flag out.on the key/values type in "script_flag_wait"/ "flag_name". So he will be waiting there till the "flag_name" is called via another trigger in game or via script. Im assuming u know how to call a flag via script and/or how to call one via radiant.
Share |
Sevenz
General Member
Since: Apr 24, 2006
Posts: 2390
Last: May 10, 2013
[view latest posts]
Level 8
Category: CoD4 SP Mapping
Posted: Saturday, Sep. 12, 2009 12:34 pm
Quote:
make a script color group trigger work ONLY after i have initiated a flag

you could also disable the trigger after map load and enable it as soon as the flag is set. See raw\common_scripts\utility.gsc, trigger_on() / trigger_off()
Share |
*Delta*Obi-Wan
General Member
Since: Jul 16, 2007
Posts: 233
Last: Dec 24, 2010
[view latest posts]
Level 4
Im a fan of MODSonair
Category: CoD4 SP Mapping
Posted: Saturday, Sep. 12, 2009 02:35 pm
I think the flag idea is the best onem ill give em a few tries as i havent tested flags in radiant before.
[machine_gun]
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 SP Mapping

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

»