Bill Bisco Posted July 12, 2015 Share Posted July 12, 2015 How do I properly use Enemy() in a dialogue to turn a party member into an enemy. My sample dialogue below is of the character speaking to CHARNAME whom I want to become an enemy. Is the below coded correctly? Your help is most appreciated. IF ~~ THEN BEGIN CH2Erevain12SAY ~You are a severe threat to all of Faerûn, <CHARNAME>. By the aid of the Seldarine you shall fall on this day!~ DO Enemy() ~ EXITEND Link to comment
jastey Posted July 12, 2015 Share Posted July 12, 2015 Almost. IF ~~ THEN BEGIN CH2Erevain12SAY ~You are a severe threat to all of Faerûn, <CHARNAME>. By the aid of the Seldarine you shall fall on this day!~ IF ~~ THEN DO ~Enemy()~ EXITEND Link to comment
Bill Bisco Posted July 12, 2015 Author Share Posted July 12, 2015 Thanks Jastey, most appreciated! Link to comment
Bill Bisco Posted July 24, 2015 Author Share Posted July 24, 2015 If you want a party member to turn on you, do they have to leave the party first? Or, can will the Enemy() code make them leave the party by itself? For example would you have to use the code: IF ~~ THEN DO ~LeaveParty() Enemy()~ EXIT ? Thanks, Bill Link to comment
Fiann of the Silver Hand Posted July 24, 2015 Share Posted July 24, 2015 Ooh. Finally a question I can answer, instead of me asking all the questions. From KELDORN.BCS THEN RESPONSE #100 SetGlobal("KeldornKickMe","LOCALS",1) DisplayStringHead(Myself,11532) LeaveParty() Enemy() END I don't think order would matter, though, since it's virtually too instantaneous to matter (such as party AI scripts firing a spell at him that might be different whether he's still in the party as an enemy). Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.