lfnetwork.com mark read register faq members calendar

Thread: 2 Scripting Questions
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 08-11-2011, 11:36 PM   #1
Fallen Guardian
Wandering the Galaxy...
 
Fallen Guardian's Avatar
 
Join Date: Aug 2010
Location: Unknown Regions
Posts: 1,280
Current Game: Knights of the Old Republic
Veteran Modder Helpful! 
2 Scripting Questions

Alright, so I have two questions for all of you well versed in the world of scripting.

First: Is there a way to forcibly take an NPC out of your party and put one in. Sort of like the party selection screen except it's all done through scripts without the players consent.


Second: In the conditional script to check if you are wearing Sith armor on Taris it checks for that one specific item. Is there a way to make it so it, for example, just checks every G_A_Class4something or do I have to make it check every uti separately?


The truly fallen cannot return to the light. If someone "falls" and "returns," they never really, truly fell.

Current Work in Progress: Dantooine Tension

Released Works
Blaster Pistol Enhancement
Dustil Restoration
Ebon Hawk Texture Enhancement
Gaffi Stick Improvement
Weapon Model Overhaul Texture Rework (Thanks to Toasty Fresh!)
Sunry Murder Recording Enhancement
VP's Hi Poly Tin Cans - KotOR 1 Version
Fallen Guardian is offline   you may: quote & reply,
Old 08-12-2011, 04:43 AM   #2
TimBob12
I'm in space!
 
TimBob12's Avatar
 
Join Date: Feb 2010
Location: Dantooine
Posts: 515
Current Game: Mass Effect 2!
Helpful! 
For your first question there are the script functions

Code:
AddPartyMember()
RemoveFromParty()
which are probably your best bet.


Hey
TimBob12 is offline   you may: quote & reply,
Old 08-12-2011, 09:28 AM   #3
Dak Drexl
Senior Member
 
Dak Drexl's Avatar
 
Join Date: Jan 2010
Posts: 1,078
Helpful! 
newbiemodder made a script for this, though I haven't gotten to the point of trying it out in k1 yet...

http://www.lucasforums.com/showthread.php?t=207533

Dak Drexl is offline   you may: quote & reply,
Old 08-12-2011, 12:37 PM   #4
Fallen Guardian
Wandering the Galaxy...
 
Fallen Guardian's Avatar
 
Join Date: Aug 2010
Location: Unknown Regions
Posts: 1,280
Current Game: Knights of the Old Republic
Veteran Modder Helpful! 
Okay, thanks guys.


The truly fallen cannot return to the light. If someone "falls" and "returns," they never really, truly fell.

Current Work in Progress: Dantooine Tension

Released Works
Blaster Pistol Enhancement
Dustil Restoration
Ebon Hawk Texture Enhancement
Gaffi Stick Improvement
Weapon Model Overhaul Texture Rework (Thanks to Toasty Fresh!)
Sunry Murder Recording Enhancement
VP's Hi Poly Tin Cans - KotOR 1 Version
Fallen Guardian is offline   you may: quote & reply,
Old 08-13-2011, 05:25 AM   #5
Qui-Gon Glenn
Necessary Roughneck
 
Qui-Gon Glenn's Avatar
 
Join Date: May 2007
Location: Thessia
Posts: 1,464
Current Game: ME3MP, Arkham Origins
Folder extraordinaire Helpful! Forum Veteran Veteran Modder 
Are wildcards ( * ) supported in kotor scripting? Never tried to use one, but it sure would be the easy answer to #2.


Want to play a game of ME3MP?
Qui-Gon_Glenn on the software of which we shall not name.... add me and the enemy shall fall in chunks of crimson salsa
Qui-Gon Glenn 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 > 2 Scripting Questions

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 09:46 PM.

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