But I'm pretty familiar with NWN scripting (used to make PWs with Aurora toolset, nothing spectacular, just for fun)
Ok, so I have an NPC who has OnSpawn() script which contains
---
ActionWalkRandom()
---
I also need this NPC to stop when PC starts a conversation with him.
Here is what i came up with:
void main()
{
ClearAllActions();
BeginConversation();
--
}
Now what I need is that NPC would continue his random walk functionm but I DON'T WANT TO use OnConversationEnd() feature. Instead, I want to halt execution of this script until an NPC will be free from conversation with the PC.
So best what I could come up with was:
while (IsInConversation(OBJECT_SELF)) return;
But the damn thing doesn't work, so is there any way to halt execution of such script?
Edit: Seems that [nss] tag is not supported here. A shame.
Modifié par popcorn_eater, 30 septembre 2010 - 05:21 .





Retour en haut






