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
Category: CoD Mapping
CoD mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: ignoring ai
shootme
General Member
Since: Feb 4, 2006
Posts: 3
Last: Feb 17, 2006
[view latest posts]
Level 0
Category: CoD Mapping
Posted: Tuesday, Feb. 7, 2006 10:54 pm
hey im making this map were your in a prison and im wondering how do you make like an enemy ai ignore you will your in a jail cell and when you come out he will fire at you.
i looked everywhere for the solution but couldnt find it.

and look what i can do

[machine_gun] vs [sniper]
[2guns] vs [eek]
Share |
Ace008
General Member
Since: Jul 22, 2005
Posts: 738
Last: Jan 3, 2009
[view latest posts]
Level 6
Category: CoD Mapping
Posted: Wednesday, Feb. 8, 2006 12:04 am
You need to make them pacifist. Do that when you click on the actor type:

Key:Script_pacifist
value:1

The only thing I don't know is how to make them stop being pacifist.
Share |
BR3NTB
General Member
Since: Jun 20, 2004
Posts: 893
Last: Mar 3, 2006
[view latest posts]
Level 7
Category: CoD Mapping
Posted: Wednesday, Feb. 8, 2006 12:50 am
Use scripting to make them Pacifist and NON-Pacifist
Like So:

A Single Actor:
Code:

Pacify_actor();
{
Actor = getent("Actorname","targetname");
Actor.pacifist = true; // or false to unpacify.
}

An Array:
Code:

Pacify_actors();
{
Actors = getentarray("Actornames","targetname");
 for(i=0;i<Actors.size;i++)
    {
        Actors[i].pacifist = true; // or false to unapcify
    }
}


All Axis ai:
Code:

Pacify_All_Axis();
{
AllAxis = getaiarray("axis")// change to allies for Allied Pacify
// or AllAxis = getaiarray("axis", "allies") // to do All Ai
 for(i=0;i<AllAxis.size;i++)
    {
        AllAxis[i].pacifist = true; // or false to unapcify
    }
}


Something Like That......

[smokin]
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty : CoD 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

»