Blaster Posted July 18, 2004 Share Posted July 18, 2004 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 More sharing options...
Blaster Posted July 20, 2004 Author Share Posted July 20, 2004 Please! Can any one help? Link to comment Share on other sites More sharing options...
Mercenary Posted July 20, 2004 Share Posted July 20, 2004 post your script and I'll have a look at it Link to comment Share on other sites More sharing options...
Blaster Posted July 20, 2004 Author Share Posted July 20, 2004 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. Link to comment Share on other sites More sharing options...
Mercenary Posted July 21, 2004 Share Posted July 21, 2004 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 More sharing options...
Blaster Posted July 21, 2004 Author Share Posted July 21, 2004 Thanks Mercenary! I'll give it go. Link to comment Share on other sites More sharing options...
Blaster Posted July 25, 2004 Author Share Posted July 25, 2004 I'm afraid that doesn't work Vader still attacks me as well as Luke. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.