lfnetwork.com mark read register faq members calendar

Thread: back to modding sorta...brain farted
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 01-22-2004, 10:07 AM   #1
override367
 
override367's Avatar
 
Join Date: Apr 2003
Posts: 58
back to modding sorta...brain farted

I forgot how to create an npc and add them to a party, i threw the following into the k_act_carthadd.ncs to try to add a party member prematurely and it didn't work, all I got was Carth...

now I did this before but I can't remember what I did wrong

anyway.... this is what I got for my script, I don't even remember if k_act_carth is what I used before
-------------------------------------------

//:: k_act_carthadd
/*
adds carth to the party
*/
//:: Created By: Jason Booth
//:: Copyright (c) 2002 Bioware Corp.

#include "k_inc_debug"

void main()

{
object oPC = GetFirstPC();

AddAvailableNPCByObject(NPC_CARTH,GetObjectByTag(" carth"));
AddPartyMember(NPC_CARTH,GetObjectByTag("carth"));
CreateObject(OBJECT_TYPE_CREATURE,"bastila",GetLoc ation(oPC));

AddAvailableNPCByObject(NPC_BASTILA,GetObjectByTag ("bastila"));
AddPartyMember(NPC_BASTILA,GetObjectByTag("bastila "));

}


In the future i should archive my scripts... helped with NWN...ugh *hits head*
override367 is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > Knights of the Old Republic > Editing / Modding > Holowan Laboratories > back to modding sorta...brain farted

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:07 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.