Jump to content

Home

2 Questions


Recommended Posts

Originally posted by StormTrooper789

I have some questions! :) 2 that is.

1. How do I set waypoints for NPCs so that they walk around the area?

Start by reading this document: http://nwn.bioware.com/developers/Bioware_Aurora_Waypoint_Format.pdf

2. What code is needed to make a script that checks for a party member in the active party?

int StartingConditional()
{
 return ((IsNPCPartyMember(NPC_BLAHBLAH) == TRUE) && (GetDistanceBetween(GetPCSpeaker(), GetObjectByTag("my_npc_tag")) <= 10.0));
}

replace NPC_BLAHBLAH by one of the following:

int NPC_BASTILA

int NPC_CANDEROUS

int NPC_CARTH

int NPC_HK_47

int NPC_JOLEE

int NPC_JUHANI

int NPC_MISSION

int NPC_T3_M4

int NPC_ZAALBAR

As you can see, this script also checks the distance between your PC and the NPC (10 m).

Otherwise, you could try :

int StartingConditional()
{
 return IsNPCPartyMember(NPC_BLAHBLAH);
}

but i am not sure if it only checks for active party members.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...