Page 1 of 1

UI_si_path_run_usecode bug?

Posted: Fri Apr 25, 2008 8:05 am
by Donfrow
It seems that in 1.4.04 I can't have a NPC with certain usecode numbers path using UI_si_path_run_usecode.

I've tried it using npc's with number 94, 250, 360 and 372. NPC 94 will work but I swap out that usecode number for 250, 360 or 372 they just stand there idle.

Normally I would think it's something I did wrong but since it does work with 94 and not the others I figure my code is correct.

Re: UI_si_path_run_usecode bug?

Posted: Fri Apr 25, 2008 10:40 am
by marzo
Post the code you are using, please.

Re: UI_si_path_run_usecode bug?

Posted: Fri Apr 25, 2008 10:55 am
by Donfrow
Code is just:

UI_si_path_run_usecode(NPCNUMBER, [2845, 239, 0], SCRIPTED, NPCNUMBER, Test, 0);

With NPC Number being the 94, 250, 360 or 372 and Test being AVATAR.say("Test");

Originally Test was something different but for the purpose of trying to get the higher NPC numbers to path I had changed it.

Re: UI_si_path_run_usecode bug?

Posted: Fri Apr 25, 2008 12:40 pm
by marzo
If NPCNUMBER is positive, try using -NPCNUMBER instead and see if it works. Otherwise, I'll add it to the list of things I have to do once I finish configuring my new laptop.

Re: UI_si_path_run_usecode bug?

Posted: Sat Apr 26, 2008 3:57 am
by Donfrow
Tried it with a negative number and no luck.

Thanks for the quick response!