Jump to content


Reztea

Member Since 11 Jun 2015
Offline Last Active Jan 19 2018 11:38 PM
****-

Posts I've Made

In Topic: A couple scripting questions?

22 August 2017 - 09:50 PM

You can use SetNPCSelectability to lock a party member. 

void main() {
SetNPCSelectability(<Party Members Integer Value>, FALSE);
}

think the values for party members are as follows:

0 - Bastila

1 - Canderous

2 - Carth

3 - HK-47

4 - Jolee

5 - Juhani

6 - Mission

7 - T3-M4

8 - Zaalbar

 

But I'm not totally sure (that's just the order it goes on the party select screen). Alternatively you can use SetAreaUnescapable() which stops you from being able to change your party entirely.

I thought that shuts down availability to be selected at all, Perhaps I should've given an example.

 

Like when you took the basilisk to Onderon and Kreia was required to come with you. Like that, sorry for any confusing I'm causing.


In Topic: A couple scripting questions?

22 August 2017 - 09:48 PM

I don't know how the conversation in this scene is started, but you could use the creature's OnDeath script. If it's more than one creature, have the script check if any of the others are still alive (i.e. valid objects) and if they aren't, then start the conversation. That's what I would do at least.

An example would be as if:

 

Jedi: Let us duel!

Sith: You've sealed your fate!

 

*You're the Jedi, and the Sith bought backup, you need to kill every Sith there, once they all are killed, another Sith who had nothing to do with the battle but was in the module will then speak to you*

 

You know how terrible I am with scripting, an example script would be useful. :)

 

And what do you mean by changing the lighting? Do you want to change it with a script or just generally change it?

 

I want to just generally change the lighting.


In Topic: Fair Strides' Script Shack

22 August 2017 - 02:04 PM

How would I go about starting a conversation after killing a group of people? Like when Canderous and his mercenaries along with Revan and his party killed the Rakghouls in the Undercity before Canderous joined them.

 

(K1 Script).

 

Another thing, how can I "lock" a party member and make them required to be in your party for the time being?


In Topic: (WIP) Added Content: The Quarantine Shutdown.

22 August 2017 - 12:03 AM

Uh, sounds like an idea more befitting KOTOR 2 tho.

If only a Taris module existed in KotOR 2.


In Topic: Bao Dur's Sacrifice Idea

21 August 2017 - 06:28 PM

I can definitely get behind this! If we have enough modders, consider me in!