Weavel Posted July 26, 2009 Posted July 26, 2009 What function is required so that the player assumes control of Kreia?
Marius Fett Posted July 26, 2009 Posted July 26, 2009 Press tab while she's in your party or just click her portrait...
Weavel Posted July 26, 2009 Author Posted July 26, 2009 In a script, what does one need to do to have a script give the player control of kreia after a cutscene.
Marius Fett Posted July 26, 2009 Posted July 26, 2009 Ah, right. Sorry mate, I thought you were just asking how to switch Party Members. Which come to think of it, might have been a bit daft of me. Sorry about that. Eh, I know literally nothing at all about scripts. So looks like you'll need to wait for someone else to come along.
gsusfrk Posted July 27, 2009 Posted July 27, 2009 Use the function SwitchPlayerCharacter(int n). Substitute n for which number party slot you want to switch to (use trial and error to find the right character). Use the value -1 to switch back to the original player character (The Exile).
Star Admiral Posted July 27, 2009 Posted July 27, 2009 Indeed it should. If I'm not mistaken, Kreia should be number 6. - Star Admiral
Tobias Reiper Posted July 27, 2009 Posted July 27, 2009 Use the function SwitchPlayerCharacter(int n). Substitute n for which number party slot you want to switch to (use trial and error to find the right character). Use the value -1 to switch back to the original player character (The Exile). Woah, wuh- hub eh wut? Excuse me for being a tard, but I really had no idea what you just said.
stoffe Posted July 27, 2009 Posted July 27, 2009 What function is required so that the player assumes control of Kreia? If you want the Exile to still be in the group but have Kreia as the currently controlled character you can do: void main() { SetPartyLeader(NPC_KREIA); } If you want the Exile to no longer be in the group and have Kreia as the main character you can do it like: void main() { SwitchPlayerCharacter(NPC_KREIA); }
R2-X2 Posted July 30, 2009 Posted July 30, 2009 Does your script work for K1 as well? Or does the game use another script? The function must be there anyway, see the Leviathan for that.
Demongo Posted July 30, 2009 Posted July 30, 2009 The SwitchPlayerCharacter works for K1, but not sure about SetPartyLeader. I think that works too.
Allronix Posted July 31, 2009 Posted July 31, 2009 Oh, this could get fun. Thanks, Stoffe. I always wondered about how to pull off that trick. I'd love a couple of K1 puzzles requiring you play as someone other than Revan,
Recommended Posts
Archived
This topic is now archived and is closed to further replies.