Notices

Go Back   FileFront Forums > The Games! > Star Wars: KOTOR Series > Star Wars: Knights of the Old Republic > SW:KOTOR Modding, Mapping and Editing

Remember Me?

SW:KOTOR Modding, Mapping and Editing
Want more info about a Mod? Making a Mod? Looking for Modders, Mappers, Skinners, etc.? This is your Spot!

Reply
 
LinkBack Thread Tools Display Modes
Old February 1st, 2008   #1
I'm too cool to Post
 
Join Date: February 1st, 2008
Status: Available
2 posts, 0 likes.
Rep Power: 0
spiderbug2 is a n00b
Default need help with scripts

I help with making a script ncs to kill I of my npc I made. can some one help me with it .
spiderbug2 is offline   Reply With Quote
Old February 1st, 2008   #2
:(
 
Lordjedi's Avatar
 
Join Date: September 1st, 2007
Location: Why Do you care?
Status: As sexy as Lordjedi
1,568 posts, 0 likes.
Rep Power: 19
Lordjedi should make some friends
Send a message via Yahoo to Lordjedi
Default Re: need help with scripts

Here is that script copy this to your txt. Or dialog editor.
void main()
{
ChangeToStandardFaction(OBJECT_SELF, STANDARD_FACTION_HOSTILE_1);
}

Lordjedi is offline   Reply With Quote
Old February 12th, 2008   #3
I'm too cool to Post
 
DarthDingDong's Avatar
 
Join Date: November 12th, 2007
Status: Available
7 posts, 0 likes.
Rep Power: 0
DarthDingDong is a n00b
Default Re: need help with scripts

That will make the NPC attack you. If you wanted it to just die on the spot use this:

void main()
{
object oPC = GetPCSpeaker();

object oTarget;
oTarget = GetObjectByTag("TAG_HERE");

effect eEffect;
eEffect = EffectDeath();

ApplyEffectToObject(DURATION_TYPE_PERMANENT, eEffect, oTarget);
}

Just replace TAG_HERE with the NPC's tag.

-DDD
DarthDingDong is offline   Reply With Quote
Reply

Bookmarks

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
using scripts Raugeston Soldier of Fortune 2 General Yib-Yab (Off Topic) 4 September 20th, 2006 08:42 PM
Scripts larraz SW:JK3 Modding, Mapping and Editing 0 August 9th, 2006 01:59 PM
Scripts? Griffin_NL Entertainment 5 January 20th, 2006 10:59 AM


All times are GMT -7.







   
 





This site is part of the Defy Media Gaming network

The best serving of video game culture, since 2001. Whether you're looking for news, reviews, walkthroughs, or the biggest collection of PC gaming files on the planet, Game Front has you covered. We also make no illusions about gaming: it's supposed to be fun. Browse gaming galleries, humor lists, and honest, short-form reporting. Game on!

FileFront Forums - Terms of Service - Top
Theme Selection
Copyright © 2002-2016 Game Front. All rights reserved. Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Forum Theme by Danny King (FileTrekker), Sheepeep & Graeme(rs)
RSS Feed Widget by FeedWind