lfnetwork.com mark read register faq members calendar

Thread: NPC Enemy Targets
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 07-18-2004, 08:09 AM   #1
Blaster
 
Blaster's Avatar
 
Join Date: May 2002
Location: UK
Posts: 96
Question NPC Enemy Targets

Hi,

I would like to make NPCs only target and attack certain NPCs eg. Luke and Kyle to attack a Reborn but ignore another Reborn that is in their vincinity.

I've tried the 'enemy target' command in BehavEd and the 'locked enemy' commands but have not got them to work.

Does anyone have an idea on how to do this?

-Blaster
Blaster is offline   you may: quote & reply,
Old 07-20-2004, 05:33 AM   #2
Blaster
 
Blaster's Avatar
 
Join Date: May 2002
Location: UK
Posts: 96
Please! Can any one help?
Blaster is offline   you may: quote & reply,
Old 07-20-2004, 09:44 AM   #3
Mercenary
 
Mercenary's Avatar
 
Join Date: Jun 2002
Posts: 381
post your script and I'll have a look at it
Mercenary is offline   you may: quote & reply,
Old 07-20-2004, 10:00 AM   #4
Blaster
 
Blaster's Avatar
 
Join Date: May 2002
Location: UK
Posts: 96
I haven't made a script. I need to know how to make it to do what I want it to do before I make a script.

Please help! It's important I know how to do this.
Blaster is offline   you may: quote & reply,
Old 07-21-2004, 07:30 AM   #5
Mercenary
 
Mercenary's Avatar
 
Join Date: Jun 2002
Posts: 381
OK, you have Vader and Luke right? Give them each and NPC_targetname, these are the names you'll use to refer to them in your script.

Example

Key:NPC_targetname
Value:Vader

the ICARUS commands would look like this:

//Generated by BehavEd

rem ( "comment" );

affect ( "vader", /*@AFFECT_TYPE*/ FLUSH )
{
set ( /*@SET_TYPES*/ "SET_ENEMY", "Luke" );
}

I haven't tried this myself so there are no guarantees but it's a start. I don't see what's preventing them from acquiring new enemies though.
Mercenary is offline   you may: quote & reply,
Old 07-21-2004, 08:38 AM   #6
Blaster
 
Blaster's Avatar
 
Join Date: May 2002
Location: UK
Posts: 96
Thanks Mercenary! I'll give it go.
Blaster is offline   you may: quote & reply,
Old 07-25-2004, 03:18 PM   #7
Blaster
 
Blaster's Avatar
 
Join Date: May 2002
Location: UK
Posts: 96
I'm afraid that doesn't work Vader still attacks me as well as Luke.
Blaster is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Editing Central > JA Mapping > NPC Enemy Targets

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:15 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.