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

Members Online

»
0 Active | 64 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 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: CQB Walk (HELP)
4codrazor
General Member
Since: Feb 23, 2012
Posts: 95
Last: Apr 7, 2016
[view latest posts]
Level 3
Category: CoD4 SP Mapping
Posted: Saturday, Aug. 23, 2014 07:55 am
Hey guys, can someone tell me how make it so a certain ai walks with an anim like forever until i disable it like in cargoship. i need to know what to do in radiant>gsc pls. thanks in advance for the help!

map on!! -4codrazor [sniper][machine_gun]
Share |
Josh.S
General Member
Since: May 27, 2012
Posts: 86
Last: Sep 16, 2014
[view latest posts]
Level 3
Category: CoD4 SP Mapping
Posted: Saturday, Aug. 23, 2014 02:38 pm
ai thread enable_cqbwalk(); //or disable_cqbwalk
I can't remember if you'll need to put
#include maps\_utility;
at the top of your script since I've stopped modding for COD.

edited on Aug. 23, 2014 07:39 am by Josh-Xenu
Share |
4codrazor
General Member
Since: Feb 23, 2012
Posts: 95
Last: Apr 7, 2016
[view latest posts]
Level 3
Category: CoD4 SP Mapping
Posted: Saturday, Aug. 23, 2014 10:55 pm
sorry i should of updated post. i figured it out last night and forgot to say i did. what you said is correct tho josh. thanks.

====================
for others who need help:

Actor CQB Walk
-----
//add this wherever you want it to occur in the level
Code:
level.actor enable_cqbwalk();

-----

Spawner CQB Walk
-----
//add this to main()
Code:
array_thread( getentarray( "actor", "targetname" ), ::add_spawn_function, ::CQB);

//add this as a thread
Code:
actor() 
{
    level.actor = getent( "actor" , "targetname" ) ::add_spawn_function, ::CQB  ;
    level.actor = self;
    level.actor enable_cqbwalk();
}


//im not sure if you need this or not.

Code:
CQB()
{
    self enable_cqbwalk();
}

-----

edited on Aug. 23, 2014 03:55 pm by 4codrazor
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

»