Jump to content

Home

NPC Enemy Targets


Blaster

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...