Posted by mad_andrew at 2005-06-02 06:27:02 Voted 10.00 on 06/02/05
I rock!
Posted by mad_andrew ( ..xxx.xxx ) at 2003-11-04 10:20:00
i just kinda posted this and forgot about it, sorry for not answering your questions.
changing the if statement like foolish demon says should work (thanks fd)
Posted by Foolish Demon ( ..xxx.xxx ) at 2003-08-19 00:06:00
Answering your scripting queries..
Change *if(nAlign == ALIGNMENT_EVIL)* to *if(nAlign == ALIGNMENT_GOOD)* or *if(nAlign == ALIGNMENT_NEUTRAL)* for checking for other alignments.
For the drow question, paste this where *int nAlign = GetAlignmentGoodEvil(oTarget);* is...
string sSubrace = GetSubRace(oTarget);
and paste this where *if(nAlign == ALIGNMENT_EVIL)* is..
if(sSubrace == "Drow")
Hope that helps.
Posted by Diablo1 ( ..xxx.xxx ) at 2003-08-16 18:10:00
Mad, how would I go about making it so the NPC could be hostile towards a Subrace Drow PC?
Posted by Smultron ( ..xxx.xxx ) at 2003-08-11 09:28:00
Sweet! Great Script just what I needed but I just wanted to ask... how do I make NPC hostile against Choatic Good and Choatic Neutral? The script only makes NPC hostile against Choatic Evil.
You must be Logged In to post comments in this section.