Weavel Posted July 26, 2009 Share Posted July 26, 2009 What function is required so that the player assumes control of Kreia? Link to comment Share on other sites More sharing options...
Marius Fett Posted July 26, 2009 Share Posted July 26, 2009 Press tab while she's in your party or just click her portrait... Link to comment Share on other sites More sharing options...
Weavel Posted July 26, 2009 Author Share 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. Link to comment Share on other sites More sharing options...
Marius Fett Posted July 26, 2009 Share 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. Link to comment Share on other sites More sharing options...
gsusfrk Posted July 27, 2009 Share 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). Link to comment Share on other sites More sharing options...
Canderis Posted July 27, 2009 Share Posted July 27, 2009 Does it work with K1 also? Link to comment Share on other sites More sharing options...
Star Admiral Posted July 27, 2009 Share Posted July 27, 2009 Indeed it should. If I'm not mistaken, Kreia should be number 6. - Star Admiral Link to comment Share on other sites More sharing options...
Tobias Reiper Posted July 27, 2009 Share 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. Link to comment Share on other sites More sharing options...
stoffe Posted July 27, 2009 Share 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); } Link to comment Share on other sites More sharing options...
Weavel Posted July 30, 2009 Author Share Posted July 30, 2009 Thanks. Link to comment Share on other sites More sharing options...
R2-X2 Posted July 30, 2009 Share 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. Link to comment Share on other sites More sharing options...
Demongo Posted July 30, 2009 Share Posted July 30, 2009 The SwitchPlayerCharacter works for K1, but not sure about SetPartyLeader. I think that works too. Link to comment Share on other sites More sharing options...
Allronix Posted July 31, 2009 Share 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, Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.