home *** CD-ROM | disk | FTP | other *** search
/ PC Zone 125 / DPPCZ0203B.7z / DPPCZ0203B.ISO / Demos / Neverwinter / data1.cab / override / nw_d2_attatstart.nss < prev    next >
Text File  |  2002-09-10  |  746b  |  29 lines

  1. //::///////////////////////////////////////////////
  2. //:: NW_D2_ATTATASTART
  3. //:: Copyright (c) 2001 Bioware Corp.
  4. //:://////////////////////////////////////////////
  5. /*
  6.     Always returns True and makes the NPC go hostile
  7.  
  8. */
  9. //:://////////////////////////////////////////////
  10. //:: Created By:
  11. //:: Created On:
  12. //:://////////////////////////////////////////////
  13.  
  14. #include "nw_i0_generic"
  15.  
  16. int StartingConditional()
  17. {
  18.     int iResult;
  19.     object oFirst = GetFirstFactionMember(GetPCSpeaker());
  20.     while (GetIsObjectValid(oFirst) == TRUE)
  21.     {
  22.         AdjustReputation(oFirst, OBJECT_SELF, -100);
  23.         oFirst = GetNextFactionMember(oFirst);
  24.     }
  25.     DetermineCombatRound();
  26.     iResult = TRUE;
  27.     return iResult;
  28. }
  29.